×
Menu
Index

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