Wendy

For...Next (and any LOOP construct) work in the same way - they find the
absolute position in the array as requested by the statement logic.

If you want to optimise sequential processing of a dynamic array then use
the REMOVE statement. Much neglected..... HUGELY efficient

Regards

JayJay

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: 15 April 2005 15:44
To: [email protected]
Subject: [U2] Clarification on FOR...NEXT loops

On the wiki, someone wrote:

"The FOR... NEXT works well, but had the problem that, until recently,
caused a bottleneck in that in processing a dynamic array, eg RECORD
(from the above example), the process would start counting from element
1 for each iteration. What this means is that, in order to process just
10 elements in an array, the program has to process"

It's on this page:  http://www.pickwiki.com/cgi-bin/wiki.pl?LoopDebates

The text switches from past tense to present.  Can someone please
clarify whether this is an issue with recent versions of U2?

(To edit the wiki, click on 'Preferences' at the bottom of the page,
then put Mr. Pick's lowercase first name in the "Administrator Password"
box.  Or, just post here and give permission for it to be put on the
wiki, and I'll do it.)

Thanks,
-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to