Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2025.1.0 - English


Control flow

  • abort — interrupt evaluation.
  • arguments — keyword to check function arguments. Arguments block must be the expression in the function.
  • Arguments Validators — List of predefined validators that can be used in arguments block.
  • break — keyword to interrupt loops
  • case — keyword used in statement "select"
  • continue — keyword to pass control to the next iteration of a loop
  • do — language keyword for loops
  • else — keyword in if-then-else and select-case-then-else
  • elseif — keyword in if-then-else
  • end — end keyword
  • for — keyword entering a non-conditional loop
  • halt — stop execution
  • if — keyword for conditional execution
  • pause — temporarily pauses the running execution, and allows instructions in console.
  • resume — return or resume execution and copy some local variables
  • return — return or resume execution and copy some local variables
  • select — select keyword
  • then — keyword in control flows 'if' and 'select'
  • try — beginning of try block in try-catch control instruction
  • while — Opens a block of instructions iterated on a heading condition
Report an issue
<< Scilab keywords Scilab Configuration >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 22 12:50:55 CEST 2025