User Tools

Site Tools


4rpl:commands:and

Index

and

<-bool1 <-bool2 and ->boolResult

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

Index

4rpl/commands/and.txt · Last modified: 2021/01/14 18:57 by Sanian