[Gambas-user] Passing parameters to a subroutine

richard terry rterry at ...1822...
Tue Feb 12 21:48:12 CET 2008


If you have a sub eg
Sub Example (param1 as string, param2 as boolean, param3 as integer)

 ' bla bla do something

end sub

Can you make one or more of these parameters optional, eg must have param1, 
but if param2,3 are mising, the sytem dosn't complain?)

Regards

Richard




More information about the User mailing list