Sorting an array
Jose Lerebours
fpgroups at gmail.com
Wed Jun 1 12:12:52 PDT 2016
I have developed filePro application since 1989 - Not bad considering
that I migrated to US from DR in 1985.
I have walked away from filePro because of the mostly "negative" energy
emitted via this list. I do lurk and often feel the urge to respond and
hold myself back in fear of the very thing that happened on my last "dare".
I coined the "Tip of the day" postings in the list only to be called out
by a number of its members and as I faded, they started doing it themselves.
I enjoy writing code ... I enjoy solving problems ... I do not mind
sharing what I think may be helpful to others but being called names,
belittled and disrespected for doing so is a bit much for me - Like most
filePro programmers, I'm just too old for BS and stress in my life.
Now back to lurking!
On 06/01/2016 03:00 PM, Richard D. Williams via Filepro-list wrote:
> Jose,
>
> You have hit the nail on the head.
> I have been making a living with Fiepro for more than 30 years, and
> this list stopped helping people a long time ago.
>
> As a community of people who need to find ways to expand our little
> filepro world, we do not need haters and people who constantly
> criticize others.
> If they are so smart, why can't they just offer a constructive idea?
> Some people just like to hear themselves talk.
>
> Just keep doing what you are doing Jose. Maybe some members on this
> list need help.
>
> BTW, no one on this list can cost me anything. I do not depend on
> it. I just look for a few people who really need help and respond
> off-list.
>
> Richard D. Williams
>
> On 6/1/2016 1:15 PM, Jose Lerebours via Filepro-list wrote:
>> My heart is simply pounding!
>>
>> No one in this "never" stuck his/her neck out for me ;-) and much
>> less if it involved those that smashed my head in.
>>
>> Thank you! I hope this does not come at a cost to you Richard ...
>>
>>
>>
>>
>> On 06/01/2016 02:03 PM, Richard D. Williams via Filepro-list wrote:
>>> On 5/19/2016 2:00 PM, Kenneth Brody via Filepro-list wrote:
>>>> On 5/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?
>>>>
>>>> After all the discussion about overhead of external tools, I think
>>>> a lot of this boils down to how often is this sort going to be done.
>>>>
>>>> There's a world of difference in sorting 20 items once, prior to
>>>> running a million-record report, and once per record on a
>>>> million-record report.
>>>>
>>> Wow. I read all the emails in this thread and frankly, it was a
>>> waste of time.
>>> As usual, Mark had way too much to say that never addressed the
>>> problem.
>>> Again, Jose was his target.
>>>
>>> In the end, Jose was right.
>>> The simplest solution is to create some temp file that could be used
>>> for any number of elements in an array.
>>>
>>> If you have a simple one or two data sort, write out the original
>>> element number, data one, and data two into this temp file.
>>> Make sure there is an index build on data one and data two in the
>>> temp file.
>>> After you have finished writing to this temp file, read the data
>>> back into a new array by that index.
>>> You can use the original element number to get the rest of the data
>>> from the original array.
>>>
>>> Now replace the data elements in the original array wit the new
>>> array and clear the new array and clear the temp file.
>>> I often use the user's "TTY" (linux) to make that instance unique.
>>>
>>> Done!
>>>
>>> Richard D. Williams
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Filepro-list mailing list
>>> Filepro-list at lists.celestial.com
>>> Subscribe/Unsubscribe/Subscription Changes
>>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>>
>>
>>
>
> _______________________________________________
> 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