User Tools

Site Tools


crpl:docs:not

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:not [2013/01/14 14:01] – created virgilwcrpl:docs:not [2022/07/01 14:46] (current) – Reformat Karsten75
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#logical_operators|Logical Operators]] 
 +=====  not  ===== 
 + 
 +not 
 + 
 +=== 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 === 
 +<code 4RPL> 
 +True not Trace     #prints out 0 (False) to the tracelog 
 +False not Trace    #prints out 1 (True) to the tracelog</code>  
crpl/docs/not.txt · Last modified: 2022/07/01 14:46 by Karsten75