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
Last revisionBoth sides next revision
crpl:docs:not [2014/01/15 17:41] Clean0nioncrpl:docs:not [2021/02/05 11:43] – Rmoved discussion tag 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  =====
Line 8: Line 8:
  
 === 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. 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>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