×
Menu
Index

SUB..END SUB Keywords

 
Usage:
SUB subname
END SUB
 
Description:
Defines a subroutine with the given name.
 
Example:
sub main()
   printl("In main()")
   test1()
   printl("In main()")
end sub
 
sub test1()
   printl("In test1()”)
   test2()
   printl("In test1()")
end sub
 
sub test2()
   printl("In test2()”)
end sub