sort an array
Fairlight
fairlite at fairlite.com
Tue Jun 5 08:51:54 PDT 2018
Why use a temporary file? That's extra overhead and lost speed. Just use
a second array with any of the countless sorting algorithms.
Doing something is RAM will always be faster than going to disk.
m->
On Tue, Jun 05, 2018 at 10:26:38AM -0500, Richard D. Williams via Filepro-list thus spoke:
> Dave,
>
> I don't know of any function in FP that will sort an array.
>
> What I do is write the array data out to a temporary file that has
> an index built in the correct order,
> clear the array, reach back into the temporary file, and fill the
> array again.
>
> You can use the tty as a unique identifier for each instance.
>
> Hope this helps,
>
> Richard
>
>
> On 6/5/2018 9:28 AM, davidrottkamp via Filepro-list wrote:
> >Hi
> >
> >Is there a way to sort an array made inside filepro
> >
> >version
> >
> >linux
> >
> >
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
--
Audio panton, cogito singularis.
More information about the Filepro-list
mailing list