User Tools

Site Tools


4rpl:commands:k

Index
Flow Control

K

K

Description

Outer loop index. When “do” loops are nested, this pushes the value of the third-innermost loop onto the stack. Do not use outside of triply-nested loops.

Note that before the inner loops begin, after they end, or between inner loops, this value may need to be referred to with J or even I.

Examples

do(2 1)
    do(4 3)
        do(6 5)
            I J K Trace3
        loop
    loop
loop

Index

4rpl/commands/k.txt · Last modified: 2021/12/23 14:28 by Karsten75