<< Click to Display Table of Contents >> Navigation: 3. Script Language > IXX. - Choose one of two cases > IXX-Commands: IF .. THEN ... ELSE ... ENDIF |
MiniRobotLanguage (MRL)
ELS. Command
Else in IF Block
Intention
Used in Conditional statements to separate the blocks, being executed if the condition is met from the statement-block that is being executed when the condition is not met.
IEF.c:\MyFile.txt
MBX. the file exists!
ELS.
MBX. the file does not exist!
EIF.
There is an more detailed explanation here: 1.6.1. Program Flow Control .
Syntax
ELS.
Parameter Explanation
Speed in Ticks:
This command uses typically around 5 Ticks.
Example
See examples in the IFX Commands
Remarks
-
Limitations:
-
See also: