parentheses for arrays

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
User avatar
kevclark64
Posts: 127
Joined: Thu Aug 15, 2019 7:30 pm
Location: USA

parentheses for arrays

Post by kevclark64 »

I noticed that in the new 2.8 compiler you took out using parentheses for arrays. Is that a feature you plan to put back in at some point, or does that cause too many problems to be supported?
FFF
Posts: 1521
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

parentheses for arrays

Post by FFF »

From the readme:
"the feature to allow parentheses as array delimiters for the FoxPro dialect that was added in the previous build had too many side effects. We have removed this feature for now."
Regards
Karl
(on Win8.1/64, Xide32 2.19, X#2.19.0.2.)
User avatar
robert
Posts: 4225
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

parentheses for arrays

Post by robert »

Kevin,

Yes we plan to put that back in. It was removed because in some situations the compiler was confusing function calls with array access.
However this will be a challenge to implement correctly.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply