User Tools

Site Tools


crpl:docs:not

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:not [2013/01/18 01:10] grauniadcrpl:docs:not [2022/07/01 14:46] (current) – Reformat Karsten75
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#logical_operators|Logical Operators]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#logical_operators|Logical Operators]]
 =====  not  ===== =====  not  =====
  
-^Arguments^Result^Notation^ +not
-|One items on the stack|The NOT of the argument |''b1 -- b2 ''+
  
 === Description === === Description ===
-Pops one items from the stack, treats it as a boolean value, 'nots' it, and pushes 0 or 1 back to the stack.+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 === === Examples ===
-<code>example goes here</code> +<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.1358489429.txt.gz · Last modified: 2014/10/01 15:02 (external edit)