Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | while.exit SEARCH    

  Functions
?
doEvent.eventName
event.end
event.eventName
for
for.exit
for.next
function.end
function.functionName
if
if.else
if.end
return
while
while.end
while.exit

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Statement
while.exit

Language: MioScript
Product: MioFactory


Syntax

while.exit


Parameters

None.


Return value

No value is returned.


Description

Exits from a while loop.
When this statement is reached, execution is redirected to the code line after the next while.end statement.

See also: while, while.end

More information: MioScript: Loops




MioScript Sample Code

&ptr = 0
while(&ptr < 4)
    var.inc(ptr)
    if(&ptr = 1)
        while.exit
    if.end
    alert(&ptr)
while.end