To properly display this page you need a browser with JavaScript support.
×
Menu
Index
Search
Search
Search
TeraByte Scripting Language
TBScript Language Reference
EXITLOOP Keyword
Prev
Next
Print version
To properly display this page you need a browser with JavaScript support.
EXITLOOP Keyword
Usage:
ExitLoop
Description:
Exits out of a While/Wend or For/Next loop.
Example:
sub main()
// similar to a repeat/until loop
while 1
keyval=GetKey()
printl("You entered key code ", keyval)
if keyval=asc("q") then
exitloop
end if
wend
end sub