Loops/Continue: Difference between revisions

Content added Content deleted
No edit summary
Line 55:
}
}</lang>
 
=={{header|BASIC}}==
{{works with|PureBasic}}
 
<lang fortran>
OpenConsole()
 
For i.i = 1 To 10
Print(Str(i))
If i % 5 = 0
PrintN("")
Continue
EndIf
Print(",")
Next
 
Repeat: Until Inkey() <> ""
</lang>
 
=={{header|C}}==
Line 484 ⟶ 466:
Write-Host -NoNewline ", "
}</lang>
 
=={{header|BASICPureBasic}}==
<lang fortran>
OpenConsole()
 
For i.i = 1 To 10
Print(Str(i))
If i % 5 = 0
PrintN("")
Continue
EndIf
Print(",")
Next
 
Repeat: Until Inkey() <> ""
</lang>
 
=={{header|Python}}==