Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to insert element in specific position?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00482122
Message ID:
00482130
Views:
9
John,

AINS() is what you want, but it doesn't change the size of the array, so you'll need to redimension the array prior to issuing the AINS(). If you don't redimension, your last element will be dropped.

As for appending arrays, take a look at ACOPY(). Again, you'll need to redimension the destination array prior to issuing the ACOPY().

Scott

>Hi,
> Is it possible to insert element(s) into array on specific position? I tried to use AINS(), but it doesn't work. I need to do it by myself?
> Any way to append array into another array???
>
>Thank you
Scott King
The Support Source Corporation
Previous
Reply
Map
View

Click here to load this message in the networking platform