FutureBasic Logo

<<    Index    >> FutureBasic 5

end   statement



Syntax:
end

Description:
This statement calls your stop-event handling routine (if you've designated one using the on stop statement), then closes all open files and ports, disposes of all handles and pointers, releases all resources, and stops execution of the program.
Note:
FutureBasic always inserts an implicit end statement following the last executable line in your program. You don't need to explicitly include an end statement unless you want the program to end somewhere before that last line is reached.

See Also:
stop; system statement; shutdown