[Gambas-user] Arguments passed by reference
Benoit Minisini
gambas at ...1...
Sun Jan 20 15:02:50 CET 2008
On dimanche 20 janvier 2008, R. Stormo wrote:
>
> I have tried this by creating a module1 with a sub
> public sub testing (invar as string, outvar as string)
> outvar = "Hi " & invar
> end sub
>
> Called in main form
> dim avariable as string
> module1.testing("Rohnny", @avariable)
> print avariable
>
> But avariable is empty should it be "Hi Rohnny"?
>
> Or have a missed something.
>
>
> Regards Rohnny
>
> My Gambas Community http://gambasforum.tk
It should be fixed in the last revision.
Regards,
--
Benoit Minisini
More information about the User
mailing list