Jump to content

Loops/While: Difference between revisions

(add ArnoldC)
Line 1,427:
 
=={{header|langur}}==
0.8 changed the keyword for a test only loop from for to while.
 
{{works with|langur|0.8}}
<lang langur>var .i = 1024
while .i > 0 {
writeln .i
.i \= 2
}</lang>
 
{{works with|langur|< 0.8}}
<lang langur>var .i = 1024
for .i > 0 {
1,006

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.