Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 400 Bytes

keyword_while.md

File metadata and controls

18 lines (12 loc) · 400 Bytes

Home Keywords

Keyword while

Descrption

Declares a while loop. Used to execute a statement, or statements, repeatedly.

Example

int startIndex = 0;
const int TARGET_INDEX = 10;

while startIndex < TARGET_INDEX;
    println "Looping... index is: ", startIndex;
end;