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.re...@fen-net.de>:
> 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
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to