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

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Sep 8 20:47:50 CEST 2011


Hi!
Quick thought; it would be nice to have compiler warning if "byref" is
missing from function/sub call.
I know using byref is optional, but so far I have only forgot to add it.

Example:

Private Sub Test(Byref x As Integer)
...

And you can call it;
Test(i)
Or;
Test(Byref i)


Jussi



More information about the User mailing list