User Tools

Site Tools


prpl:if

<- PRPL reference <- Program Flow Control

if

ArgumentsResultNotation
bool [bool-]

Description

bool ARG1: The value to evaluate<p/> Evaluate the first element on the stack. If True, then execute statements that follow, up to the endif or else statement. If False, execution skips to the first statement following the endif or else statement. Any nonzero value is considered True, a value of zero is False.

Examples

if (<-var eq (1)) 
   #Do Something 
endif 
prpl/if.txt · Last modified: 2018/06/14 15:33 by kajacx