Hi Benoit, what bothers me from time to time is that With is *so* handy but can't be used to access Array or Collection elements like:
With hCollection ' or hArray Print ["key"] ' or Print [0] End With I see that this would be a syntactical problem because ["key"] and [0] may equivalently well be recognised as inline arrays. But we have another option, right? There is still the ! operator which is unambiguous: With hCollection Print !key End With Should be no problem if implemented. What do you think? And while we are at it, couldn't the ! operator at the same time get the capability to support integers, so that the above will also work with an array: With hArray Print !0 End With Regards, Tobi ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user