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

TOPIC:

copy to array 15 Mar 2022 16:13 #21941

  • kevclark64
  • kevclark64's Avatar
  • Topic Author


  • Posts: 120
  • It appears to be the case (using version 2.11) that, if an array is dimensioned with more columns than a corresponding table contains, you get a Bound Error when you copy to array. In other words, if you dimension myArray(1000,4) and the table you are copying has only three columns then it generates a Bound Error. In Foxpro, if an array has more columns than a table then the extra columns simply contain .f.

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

    copy to array 15 Mar 2022 16:53 #21945

    • robert
    • robert's Avatar


  • Posts: 2974
  • Kevin,
    Thanks for the report. We'll look into this asap.

    Robert
    XSharp Development Team
    The Netherlands

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

    copy to array 05 Apr 2022 17:37 #22087

    • robert
    • robert's Avatar


  • Posts: 2974
  • Kevin,
    Fixed in next build

    Robert
    XSharp Development Team
    The Netherlands

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

    copy to array 07 Apr 2022 16:25 #22113

    • kevclark64
    • kevclark64's Avatar
    • Topic Author


  • Posts: 120
  • Thanks, that's very helpful.

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

    • Page:
    • 1