Halts a GFA-BASIC program.
Stop
The Stop command halts the program on the line with the Stop command.
When a program reaches this line GFA-BASIC 32 will show a Message Box with the question: "Really stop?" and you can choose yes or no. This provides the time to select Step mode in the debug tray-icon.
Local i%
OpenW # 1, 10, 10, 100, 100, -1
AutoRedraw = 1
For i% = 1 To 100
If Mod(i%, 10) = 0
Print i%
Stop
EndIf
Next i%
Performs a Stop whenever the counter i% is a multiple of 10.
{Created by Sjouke Hamstra; Last updated: 23/10/2014 by James Gaite}