User Tools

Site Tools


crpl:docs:gt

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:gt [2013/01/18 06:04] grauniadcrpl:docs:gt [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#comparators|Comparators]]
 =====  gt  ===== =====  gt  =====
Line 10: Line 10:
 Top two items are popped from the stack and 'Greater Than' comparison is performed.  Top two items are popped from the stack and 'Greater Than' 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>
Line 19: Line 22:
 </code>  </code> 
  
 +<code>
 +A B gt
 +#If A is bigger than B, TRUE
 +#Otherwise FALSE
 +</code>
crpl/docs/gt.1358489055.txt.gz · Last modified: 2025/02/14 14:56 (external edit)