Loops/Increment loop index within loop body: Difference between revisions
Loops/Increment loop index within loop body (view source)
Revision as of 07:55, 27 May 2023
, 1 year ago→{{header|RPL}}: typo
(add RPL) |
m (→{{header|RPL}}: typo) |
||
Line 4,372:
'''STEP'''
≫
It is nevertheless more idiomatic to use a <code>WHILE..REPEAT</code> loop, managing the loop index in the stack:
≪ 0 42
'''WHILE''' OVER 12 < '''REPEAT'''
Line 4,381:
'''END''' DROP
≫
=={{header|Ruby}}==
|