|
ExitWhile | ||
ExitWhile | ||
Parameters: NONE | ||
Returns: NONE | ||
ExitWhile will force PlayBASIC to break out of the current While-EndWhile loop that is being executed. FACTS: * Only works within While-EndWhile loops. * When an ExitWhile command is executed, PlayBASIC will stop the loop and continue the program code following the EndWhile statement. Mini Tutorial: Breaking free of While-EndWhile when a testing condition is met before the loop reaches it natural ending condition.
This example would output.
|
Related Info: | Continue | Do | Exit | For | Goto | Loops | Repeat | While : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |