ENDS THE MAIN PROGRAM
ACTION
The command END stops the running of the main program. The program remains active and trea the events.
It is not adviced to place END in a subroutine or in an event treatment procedure.
SYNTAX:
END
USE ERROR EXAMPLE
label clicked
rem create a button
button 1:caption 1,"Click on me"
rem define an event associated to the button
on_click 1,clicked
rem end of main program, wait for event
end
clicked:
caption 1,"Hello !"
return
END
END
SEE ALSO
STOP
TERMINATE