This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:j [2013/01/14 19:05] – created virgilw | crpl:docs:j [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== J ===== | ||
+ | |||
+ | ^Arguments^Result^Notation^ | ||
+ | | |First outer loop Index ||| FIXME ||| | ||
+ | |||
+ | |||
+ | === Description === | ||
+ | First outer loop index. | ||
+ | When loops are nested, this pushes the value of the first (or only) outer loop onto the stack. | ||
+ | === Examples === | ||
+ | < | ||
+ | # Show the trace log, clear it, then show the order of I (inner loop) and J (outer loop). | ||
+ | ShowTraceLog | ||
+ | ClearTraceLog | ||
+ | 3 1 do | ||
+ | 12 10 do | ||
+ | I J Trace2 | ||
+ | loop | ||
+ | loop | ||
+ | |||
+ | #10 1 | ||
+ | #11 1 | ||
+ | #10 2 | ||
+ | #11 2 | ||
+ | </ |