xsharp.eu • parentheses for arrays
Page 1 of 1

parentheses for arrays

Posted: Wed Mar 10, 2021 3:18 pm
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?

parentheses for arrays

Posted: Wed Mar 10, 2021 4:36 pm
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."

parentheses for arrays

Posted: Wed Mar 10, 2021 4:55 pm
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