Loops/Continue: Difference between revisions

Content added Content deleted
(added RPL)
Line 2,233: Line 2,233:
next
next
</syntaxhighlight>
</syntaxhighlight>

=={{header|RPL}}==
You need an <code>IF..THEN..ELSE</code> structure to do that in RPL.
« ""
1 10 '''FOR''' j
j +
'''IF''' j 5 MOD '''THEN''' ", " + '''ELSE''' "" '''END'''
'''NEXT''' DROP
» '<span style="color:blue">TASK</span>' STO


=={{header|Ruby}}==
=={{header|Ruby}}==