Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English

Control flow

  • abortinterrupt evaluation.
  • breakkeyword to interrupt loops
  • casekeyword used in statement "select"
  • continuekeyword to pass control to the next iteration of a loop
  • dolanguage keyword for loops
  • elsekeyword in if-then-else and select-case-then-else
  • elseifkeyword in if-then-else
  • endend keyword
  • forkeyword entering a non-conditional loop
  • haltstop execution
  • ifkeyword for conditional execution
  • pausetemporarily pauses the running execution, and allows instructions in console.
  • resumereturn or resume execution and copy some local variables
  • returnreturn or resume execution and copy some local variables
  • selectselect keyword
  • thenkeyword in control flows 'if' and 'select'
  • catchbeginning of catch block in try-catch control instruction
  • whileOpens a block of instructions iterated on a heading condition
Report an issue
<< Scilab keywords Scilab Configuration >>

Copyright (c) 2022-2023 (Dassault Systèmes)
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:
Mon Mar 27 11:52:41 GMT 2023