PDA

View Full Version : Sub Keyword



Michael Clease
06-06-2007, 23:32
I have seen scripts with the sub keyword but I havent seen any definition for it.

ErosOlmi
06-06-2007, 23:35
It is there just for compatibility with other BASICs.
For thinBasic SUB and FUCNTIONS are the same. Internally all is a function.

In general use SUB only if you do not need any return parameter.

Maybe I need to write something more in help.

Thanks for remebering.
Eros