[Gambas-user] New syntactic sugar to define a property based on a global variable
Benoît Minisini
g4mba5 at gmail.com
Thu Aug 22 12:05:45 CEST 2019
Hi,
I have just added the new following syntax:
PROPERTY [ READ ] PropertyName AS PropertyType USE GlobalVariableName
It declares a property and automatically declares a global variable of
the same type that will store the value of the property. The property
methods are automatically defined too.
If you explicitly define the Read or Write property method, it overrides
the one previously defined by default.
Regards,
--
Benoît Minisini
More information about the User
mailing list