User Tools

Site Tools


crpl:docs:gte

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:gte [2013/01/14 14:10] – external edit 127.0.0.1crpl:docs:gte [2017/09/06 09:18] (current) – Test Kajacx highlight mod Karsten75
Line 1: Line 1:
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]]
 =====  gte  ===== =====  gte  =====
  
Line 9: Line 9:
 Top two items are popped from the stack and 'Greater Than or Equal' comparison is performed.  Top two items are popped from the stack and 'Greater Than or Equal' comparison is performed. 
 0 or 1 is pushed back to the stack where 1 indicates true. 0 or 1 is pushed back to the stack where 1 indicates true.
 +
 +See [[crpl:docs:eq#comparing_unlike_types|programming note]] for comparing unlike types
 +
 === Examples === === Examples ===
-<code>+<code prpl>
 # Compares numbers to 50.  # Compares numbers to 50. 
 # Pointless, in programming, but here to illustrate a point.  # Pointless, in programming, but here to illustrate a point. 
Line 18: Line 21:
 </code>  </code> 
  
 +<code prpl> 
 +A B lt 
 +If A is bigger than B, TRUE 
 +If A is the same as B, TRUE 
 +Otherwise FALSE 
 +</code> 
crpl/docs/gte.1358190634.txt.gz · Last modified: 2014/10/01 15:02 (external edit)