[Gambas-user] Property Something as String Use $Something

Bruce Steers bsteers4 at gmail.com
Sun Dec 27 22:02:31 CET 2020


Example..

*Property* Something *As* String *Use* $Something

I like this method as it saves time and code but i do not like this method
because it also makes the $Something variable Public.
Should it not be Private?
I'm thinking as the Property Name "Something" is Public the "$Something"
part should automatically be Private.

Or if it's wanted that way could we get a UsePrivate or something?
like...
*Property* Something *As* String *Use**Private* $Something
Or...
*Property* Something *As* String *Use* *Private* $Something
Or...
*Property* Something *As* String *Private* $Something

Thank you kindly :)
Happy Yule
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201227/93554971/attachment-0001.htm>


More information about the User mailing list