Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | for.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
for.exit

Language: MioScript
Product: MioFactory


Syntax

for.exit


Parameters

None.


Return value

No value is returned.


Description

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

See also: for, for.next

More information: MioScript: Loops




MioScript Sample Code

for(&ptr, 0, 3)
    if(&ptr = 1)
        for.exit
    if.end
    alert(&ptr)
for.next