Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there free library with array manipulation functions?
Message
From
06/07/2008 10:31:53
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
06/07/2008 09:21:03
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01329037
Message ID:
01329232
Views:
17
>>>Hi,
>>>
>>>>>Hi All,
>>>>>
>>>>>Before I reinventing the wheel, is there a free library out there, one with array manipulation functions?
>>>>
>>>>What functions do you need? Visual FoxPro has built-in arrays, and it has functions to work with them.
>>>
>>>Quite a number of them:
>>>1) One which add/delete/insert element and resize (actually 3 functions)
>>>2) One which concatenate 2 arrays (same dim)
>>>3) One which find the max len/size of elements (in a col)
>>>4) One which rotate elements in array
>>>5) One which reverse the elements in an array
>>>6) One which pad every elements to the max len
>>>....
>>>n) you name it
>>>
>>>there are many not found in VFP... I know those are not that difficult to create on my own, just probably someone already have them and can save me some time.
>>
>>Arrays are not going to give you increased performance. VFP is not C. Use cursors and you can do most of those with built in table manipulation commands.
>
>Can you push the array into a temporary table. Do what you have to do to the data and put it back in the array and destroy the temp table??

Of course. The "array" table could even be 3D with columns like x, y, z, value, type.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform