[Gambas-user] Passing ... parameters

Fabien Bodard gambas.fr at ...626...
Fri Dec 9 13:30:41 CET 2011


hum
there is someting that hurt me ... how are passed your params ... in
what variable ?

for exemple ... if all is string  like : (param1, para2, para3)

use an array

Public Funtion F2(MyParam as string[]) as


end


call it

F2(split(sParam,","))


to use "..." it's really rare it's for polymorphe call via a hard
coded function :

F2(toto, tata, titi)
F2(toto,tata)

but it not seem to be your case




More information about the User mailing list