[Gambas-user] What are the {} enclosed variables
Charlie Reinl
Karl.Reinl at ...2345...
Thu Mar 4 19:11:24 CET 2010
Salut,
while started that way, I keep on going top writing.
I'm willing to set it into the wiki, but I do not know where to place
it, any any hint !
To all these thousands of gambas using ghostwriters, I would place a
lightly changed version of Fabien's text, pleas make it better.
Am Mittwoch, den 03.03.2010, 23:09 +0100 schrieb Fabien Bodard:
> it's to say to the compiler to not manage that wird as a keyword or a class
>
> for exemple Font is a class from gb.qt or gb.gtk
>
> if in a personal class you ad a property name like that :
>
> PROPERTY Font as Font
> or PROPERTY Left as Integer
>
> the compiler say there is an error and you cant have a property
> MyClass.Font or MyClass.Left
>
> To allow that you need to put the word between {}
>
> PROPERTY {font] as Font
>
> and yes it's not in the doc
>
>
>
>
>
> 2010/3/3 Charlie Reinl <Karl.Reinl at ...9...>:
> > Salut,
> >
> > since a while, from time to time, I have seen things like that.
> >
> > Property {Font} As Font
> > ' (this is out of the gb.report project of gambas3)
> > Can anybody tell me the meaning of {} enclosed variables.
> > I haven't found in doc's.
> >
> >
> > --
> > Amicalement
> > Charlie
> >
--
Amicalement
Charlie
More information about the User
mailing list