ELSEIF: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''ELSEIF''' An optional logical "branch," used within an IF-END construct. If the IF statement is true, commands above the ELSEIF are executed and those below ar..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
===ELSEIF=== | |||
An optional logical "branch," used within an [[IF]]-[[END]] construct. If the [[IF]] statement is true, commands above the ELSEIF are executed and those below are skipped until a matching [[END]] is found. Otherwise, commands above the ELSEIF are skipped and those below are executed. | An optional logical "branch," used within an [[IF]]-[[END]] construct. If the [[IF]] statement is true, commands above the ELSEIF are executed and those below are skipped until a matching [[END]] is found. Otherwise, commands above the ELSEIF are skipped and those below are executed. | ||
| Line 12: | Line 12: | ||
:[[END]] | :[[END]] | ||
===NOTE=== | |||
This language feature requires Compost4 and GibbsCAM v11. | |||
[[Category:Logic]] | [[Category:Logic]] | ||
Latest revision as of 21:34, 24 January 2014
ELSEIF
An optional logical "branch," used within an IF-END construct. If the IF statement is true, commands above the ELSEIF are executed and those below are skipped until a matching END is found. Otherwise, commands above the ELSEIF are skipped and those below are executed.
- {commands executed if true...}
- ELSEIF NOT MultipleParts?
- {commands executed if IF condition is false and ELSEIF condition is true...}
NOTE
This language feature requires Compost4 and GibbsCAM v11.