[EMAIL PROTECTED] wrote:

In a message dated 5/18/2005 11:50:38 PM Pacific Daylight Time, [EMAIL PROTECTED] writes:




OK, sure. But readnext doesn't really work on an array but on a select list.



Ah but that's not so. You can SELECT myVAR You can SELECT myVAR to LIST5 You can SELECT myVAR to MyLIST

and then you *can* in fact READNEXT your array. Selecting the variable turns a dynamic arry into a list type variable.

Will Johnson
-------


Will, try

myVar = 1:@FM:2
SELECT myVar
myVar<1> = 3
READNEXT   X  THEN PRINT X

the result is 1 thus readnext _doesn't_ read my array..

But of course you may user readnext to step thru an array
with this technique  --
if you keep in mind that it is an old image of the array
that you processing - and mostly it doesn't matter
as the array doesn't change.

-- mats
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to