RE: Bad getwordnum

Author: Gene Wirchenko

Posted: 2016-07-29 at 13:01:20

At 23:05 2016-07-28, "Michael Glassman" <MHGlassman@PioneerDrama.com> wrote:

>I'm afraid I have to disagree with you, Fernando. The DO WHILE

>approach may not be optimal, but it does work. If you have three

>consecutive commas, for instance, the first two get changed to one

>comma on the first loop, leaving two consecutive commas. On the

>second loop, those are changed to one comma. Honest, the process

>works fine and executes very quickly in VFP. It's much faster than

>having to test each and every array element to see if it is empty.

Depending on the length of the string, it might be worth

building the new string to save grovelling part of the string again and again.

[snip]

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/e967c8a92a735dc4e49a3a2787caefcb@mtlp000085

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2016 Gene Wirchenko