User Tools

Site Tools


crpl:docs:not

This is an old revision of the document!


<- CRPL reference <- Logical Operators

not

ArgumentsResultNotation
An item on the stackThe NOT of the argument b1 – b2

Description

Pops one item from the stack, treats it as a boolean value, '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

True not Trace     #prints out 0 (False) to the tracelog
False not Trace    #prints out 1 (True) to the tracelog
crpl/docs/not.1612543437.txt.gz · Last modified: 2021/02/05 11:43 by Karsten75