[Gambas-user] Method Overloading (reprise)
Brant Wells
bwells at ...475...
Mon Jan 17 18:41:58 CET 2005
Thanks for the explanations, y'all.
I understand it... but couldn't that get confusing if you have two methods or
functions with the same name??
Why not just do
Sub mysub(myarg as variant)
if isnumeric(myarg) then
'do something to the number
else
'do something to the string
end
???
~Brant Wells, Network Administrator
Toccoa Falls College
Toccoa Falls, GA 30598
706-886-7299 x 5413
More information about the User
mailing list