[Gambas-user] To wish list; optional compiler warning

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Sep 8 22:09:01 CEST 2011


>
> By having to specify ByRef in the caller, you can't forget that the
> function
> will modify your variable (forgetting that leads to hard-to-fix bugs) and
> it
> help readers of your code.
>

Sorry, I don't understand what you mean, can you elaborate?
I mean I forgot to write Test(Byref i), instead I always write old vb style
Test(i).

Jussi



More information about the User mailing list