Thanks Dennis,
What happens if FM.ARRAY is empty? Would it not be better to:
MORE = LEN(FM.ARRAY)
LOOP
UNTIL NOT(MORE)
And then like you said.
Thanks.
dennis bartlett
to force unique list (with REMOVE you don't have to know how many
attributes are in FM.ARRAY)
UNIQ.LIST = ''
LOOP
REMOVE NEXT.ID FROM FM.ARRAY SETTING MORE
LOCATE(NEXT.ID,UNIQ.LIST,1;POS) ELSE UNIQ.LIST<-1> = NEXT.ID
WHILE MORE
REPEAT
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
**********************************************************************
The e-mail and attachments are confidential and intended only for selected
recipients. If you have received it in error, you may not in any way disclose
or rely on the contents. You may not keep, copy or distribute the e-mail.
Should you receive it, immediately notify the sender of the error and delete
the e-mail.Also note that this form of communication is not secure, it can be
intercepted, and may not necessarily be free of errors and viruses in spite of
reasonable efforts to secure this medium.
**********************************************************************
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users