User Tools

Site Tools


crpl:docs:while

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:while [2013/01/18 06:25] grauniadcrpl:docs:while [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#flow_control|Flow Control]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#flow_control|Flow Control]]
 =====  while  ===== =====  while  =====
Line 13: Line 13:
 === Examples === === Examples ===
 <code> <code>
-# outputs a set of sescending numbers on the trace stack +# outputs a set of descending numbers on the trace stack 
 ShowTraceLog  ShowTraceLog 
 ClearTraceLog  ClearTraceLog 
-5 ->y #create temp varialble "y" +5 ->y #create temp variable "y" 
 while <-y 0 gt # is y greater than zero?  while <-y 0 gt # is y greater than zero? 
  repeat #repeat this section of code   repeat #repeat this section of code 
crpl/docs/while.1358490307.txt.gz · Last modified: 2025/02/14 14:56 (external edit)