Werner wrote:
>       set Cnt = object.ObjectCollection.Count()
>       for oc=1:1:Cnt
>       {
>  //  p1 is an integer value...(parameter values of objects referenced in a
> collection...)
>       set Data(p1) = oc
        ;No, do it like this:

                set sortedIndex(p1,oc) = ""
        }

        s (val,oc)=""
        f  {
                s val=$o(sortedIndex(val))
                q:val=""
                f  {
                        s oc=$o(sortedIndex(val,oc))
                        q:oc=""
                        w val," - ",oc,!
                }
        }

Reply via email to