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


Control flow

  • abortinterrupt evaluation.
  • argumentskeyword to check function arguments
  • Arguments ValidatorsList of predefined validators that can be used in arguments block.
  • 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'
  • trybeginning of try 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:
Tue Oct 24 14:30:01 CEST 2023