Loops/While: Difference between revisions
Content added Content deleted
(Add lang example) |
(Merge duplicated example for Lambdatalk) |
||
Line 1,928: | Line 1,928: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
Alternative solution: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Lambdatalk}}== |
|||
<syntaxhighlight lang="scheme"> |
<syntaxhighlight lang="scheme"> |
||
{def while |
{def while |
||
Line 1,972: | Line 1,950: | ||
1 |
1 |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|langur}}== |
=={{header|langur}}== |