<- PRPL reference <- Logical Operators

and

ArgumentsResultNotation
bool bool bool [bool bool- bool]

Description

Pops two items from the stack and treats them as TRUE/FALSE (0/1 or Boolean) values. If they are both TRUE, 1 is pushed to the stack. Otherwise, 0 is pushed to the stack.

Examples

if (1 and (true)) 
	trace("1 and true are both true") 
endif