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

TOPIC:

Copy to array 22 May 2023 18:34 #26422

  • kevclark64
  • kevclark64's Avatar
  • Topic Author


  • Posts: 126
  • I mentioned some issues with Copy to Array a while back, which have been fixed, but I don't think I ever mentioned this. When you use Copy to Array with Foxpro, the length of the array will be truncated to the number of the items copied. With XSharp, the original length of the array remains unchanged regardless of items copied. So, in Foxpro if you dimension an array as 1000 items but then Copy to Array copies 50 items then the array now has a length of 50. In XSharp, doing the same thing would keep the array at 1000 items.

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

    Copy to array 22 May 2023 18:47 #26423

    • robert
    • robert's Avatar


  • Posts: 3588
  • Kevin,
    I have made a ticket for this, so we will not forget it:
    github.com/X-Sharp/XSharpPublic/issues/1262

    Robert
    XSharp Development Team
    The Netherlands

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

    • Page:
    • 1