>>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)]
;-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca