Welcome, Guest
Username: Password: Remember me
This public forum is meant for questions and discussions about Visual FoxPro
  • Page:
  • 1

TOPIC:

parentheses for arrays 10 Mar 2021 16:18 #17724

  • kevclark64
  • kevclark64's Avatar
  • Topic Author


  • Posts: 123
  • 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?

    Please Log in or Create an account to join the conversation.

    parentheses for arrays 10 Mar 2021 17:36 #17726

    • FFF
    • FFF's Avatar


  • Posts: 1398
  • 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 (X# 2.14.0.4; Xide 1.33; W8.1/64 German)

    Please Log in or Create an account to join the conversation.

    parentheses for arrays 10 Mar 2021 17:55 #17727

    • robert
    • robert's Avatar


  • Posts: 3446
  • 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

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1