Home» Programming» Control Flow
Control Flow
break |
Terminate execution of for loop or while loop |
case |
Case switch |
continue |
Pass control to next iteration of for or while loop |
else |
Conditionally execute statements |
elseif |
Conditionally execute statements |
end |
Terminate conditional statements, or indicate last index |
error |
Display error messages |
for |
Repeat statements specific number of times |
if |
Conditionally execute statements |
otherwise |
Default part of switch statement |
return |
Return to invoking function |
switch |
Switch among several cases based on expression |
try |
Begin try block |
while |
Repeat statements indefinite number of times |