> hi,
> i wonder if there is a way to declare an "anonymous collection" just as
> one would do it with arrays:
> FOR EACH s IN ["a", "b"]
>    PRINT s
> NEXT
> 
> regards,
> tobi
> 

In Gambas 3, you can do that by using the following syntax:

        ["key1": value1, "key2": value2 ... ]

-- 
Benoît Minisini

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to