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

Fabien Bodard gambas.fr at ...626...
Sun Dec 13 21:26:06 CET 2015


2015-12-13 19:33 GMT+01:00 Tobias Boege <taboege at ...626...>:
> 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... :-)
well it's just a hidden thing i've done to allow me to make some short
inline code. This will never exist in other way than this one.
i'm always tired of typing code. :-)
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard




More information about the User mailing list