Terminates a GFA-BASIC program.
End
End terminates a GFA-BASIC program.
Local i%
OpenW # 1 : Win_1.PrintWrap = True
For i% = 1 To 100
Print i%`
Next i%
End
Print 220
Opens a window and prints the digits from 1 to 100. The program then ends. The last line Print 220 is not executed.
OpenW 1 , 10, 10, 235, 255
Ocx Command but1 = "click me", 10, 10, 200, 200
Do
Sleep
Until Me Is Nothing
Sub but1_Click
CloseW 1
End
EndSub
If End is used in the IDE, the IDE can suddenly freeze.
For more information, see here for more details.
{Created by Sjouke Hamstra; Last updated: 04/10/2014 by James Gaite}