User Tools

Site Tools


4rpl:commands:not

Index

not

NOT

Description

Treats first item on the stack as a boolean value (true/false (1/0) , ‘nots’ it, and pushes 0 or 1 back to the stack. If the item is TRUE, 0 is pushed to the stack. If the item is FALSE, 1 is pushed to the stack.

Examples

if (not(false))
    trace("not false is true")
endif

Index

4rpl/commands/not.txt · Last modified: 2021/01/08 11:01 by 127.0.0.1