Sorting an array
Jose Lerebours
fpgroups at gmail.com
Wed May 18 13:45:01 PDT 2016
I am not even sure that filePro has methods built in to do so.
That being said, there is always a way to skin the cat. A quick and
dirty way to do this to simply dump the data into a filePro file and
read back from that file as needed. By doing so, you have as many ways
to sort your array as there are indexes (provided that you have a
multi-level array).
If you were to install WAMP in your box, you can write PHP scripts which
you can then call to manipulate the data and send it back in the order
you expect by using filePro's own "user" command. I am sure you could
do same with Perl, Python and a ton of other languages by PHP is the one
I prefer.
On 05/18/2016 12:15 PM, Richard Kreiss via Filepro-list wrote:
> I would like to be able to sort a 20 element array.
>
> Any suggestion as to how best to do this on a Windows machine?
>
> Richard Kreiss
> GCC Consulting
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20160518/43878678/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list