To properly display this page you need a browser with JavaScript support.
×
Menu
Index
Search
Search
Search
TeraByte Scripting Language
TBScript Language Reference
SUB..END SUB Keywords
Prev
Next
Print version
To properly display this page you need a browser with JavaScript support.
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