<- PRPL reference <- Program Flow Control

endif

ArgumentsResultNotation
[ - ]

Description

Delimits the scope of an if-else-statement. Instructions between the if and endif statement are conditionally executed, depending on the results of the if evaluation.

Examples

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