DO

DO

This keyword is used to declare single-line commands. It can be used with WHILE and FOR-family commands.

Example 1

For i = 1 to 10 do print i 

Example 2

FOR f IN files("*.txt") DO PRINT f

Example 3

While(i < 10) do i++
Language
If there is insufficient information on this page and you wish learn more about DO, please send an email to smallbasic@gmail.com. You can help to improve information about DO by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.