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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2026.1.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Scilab > Control flow

Control flow

  • abort — interrupt evaluation.
  • 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 — language keyword for loops
  • halt — stop execution
  • if — keyword for conditional execution
  • pause — pause mode, invoke keyboard
  • 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'
  • catch — beginning of catch block in try-catch control instruction
  • while — while keyword
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:
Tue Feb 14 15:02:38 CET 2017