Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add a new element to the end of an array
Message
From
15/05/1997 10:59:42
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00032386
Message ID:
00032424
Views:
39
>>>Hi Folks!
>>>
>>>Trying to replicate the same effect as AADD() in Clipper 87
>>>
>>>any suggestions besides going on vacation?
>>>
>>>AADD() Adds a new element to the end of an array.
>>>
>>>How do we do this in VFP?
>>>
>>>Any help would be greatly appreciated
>>>
>>>Wilson Pye
>>>Pye Software Development
>>>Email: pye@www.pyesoft.com
>>
>>Try :-
>>tmplen=alen(yourarray)
>>dimension yourarray(tmplen+1)
>
>Or in only 1 line:
>
>DIMENSION MyArray[alen(myarray,1)+1,alen(myarray,2)]
>
>
>;-)

yes, that's right, shortcut !!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform