Warning !

In this thread we've seen three looping mechanisms been presented
as equivalent  ( pairwise, first i and ii then ii and iii):

i)

  N = DCOUNT( PRODS,@VM)

 FOR II=1 TO N
     X  =  PRODS<1,II>
    ...
     NEXT II

 
ii)

>>LOOP
>>   REMOVE PROD FROM PRODS SETTING MORE.PRODS
>>   ...do stuff...
>>WHILE MORE.PRODS
>>REPEAT
>>    
>>
>
>  
>
iii)

>SELECT PRODS
>and then 
>READNEXT PROD ELSE DONE = TRUE
>
>  
>

They are not!


i)   extracts  full values  regardless of the presence of lower level 
marks in them.

ii)  extracts the smallest items between marks of any level

iii)  extracts  fields ( attibutes ) .
   

except in the common case that there is only one level of marks
(and that the first and third are adjusted to that level of course )


-- mats
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to