[Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...)

Tobias Boege taboege at ...626...
Sun Dec 13 19:33:33 CET 2015


On Sat, 12 Dec 2015, Fabien Bodard wrote:
> gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to
> 50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next'
> 
> hermetics
> 

I don't know what this has to do with the thread but I'm amazed that this
works. As I read it '{i}ii', e.g., is a crude way to declare an integer ii
while using it for the first time.

You should ever think you know every nasty syntax hack in Gambas... :-)

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list