User Tools

Site Tools


4rpl:commands:else

Index
Flow Control

else

else

Description

When an if statement evaluates to false, then the statements following the else, up to the endif, are executed instead.

Examples

if (<-var eq (1))
   #Do something
else
   #Do something else
endif

Index

4rpl/commands/else.txt · Last modified: 2021/12/23 14:26 by Karsten75