Xbasic

STOP

Syntax

STOP

Description

Suspends the execution of a script.

Discussion

STOP suspends the execution of a script.

Example 

The script stops when x = 3.

trace.writeln("Start")
for x = 1 TO 10
    if x = 3 then
        stop
    end if
    trace.writeln(STR(x))
next x
trace.writeln("End")
end

See Also