User Tools

Site Tools


4rpl:commands:else

This is an old revision of the document!


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.1640287564.txt.gz · Last modified: 2025/02/14 14:56 (external edit)