[Gambas-user] New syntactic sugar to define a property based on a global variable
taboege at gmail.com
Sun Aug 25 03:29:38 CEST 2019
On Thu, 22 Aug 2019, Benoît Minisini wrote:
> 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.
Many thanks, Benoît.
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User