Sorting an array
Bruce Easton
bruce at stn.com
Thu May 19 11:43:27 PDT 2016
On 5/18/16 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
A 20 element filepro array? Or something else? And what is the
expected output - same type?
If this is a job strictly to yield a filepro array from a filepro array
during execution of a processing table, I would likely keep the sorting
there as well. But if the ultimate source and/or goal involves data
(and possibly other related tasks) outside of filepro, I might consider
also sorting outside of filepro.
This makes me think of http requests that may ultimately read from or
update a filepro record. For certain data modifications like date math,
for instance, it seems much easier to perform them in filepro processing
as part of the request; whereas sorting is often easier to perform in
javascript using the JS sort method after reading data from filepro (or
before storage to filepro).
Bruce
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the Filepro-list
mailing list