Very nice!.  That $query is the function I was looking for.  I read
about it on the Mumps by example web site, but couldn't understand
what I was reading

thanks!
Kevin



On 7/12/06, Maury Pepper <[EMAIL PROTECTED]> wrote:
> Kevin,
>
> here's a simple loop to create array B from array A with the following rules:
> For each data node in A, create a node in B having a subscript which is the 
> last subscript of the A node, and set the value of the B node equal to the 
> first subscript of the A node.
>
> SET N="A"
> FOR  SET N=$Q(@N) Q:N=""  SET B($QS(N,$QL(N)))=$QS(N,1)
>
>
> ----- Original Message -----
> From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> To: <hardhats-members@lists.sourceforge.net>
> Sent: Tuesday, July 11, 2006 4:36 PM
> Subject: Re: [Hardhats-members] Traversing an array
>
>
> >I was afraid you were going to say that... :-)
> > Kevin
> >
> >
> > On 7/11/06, Greg Woodhouse <[EMAIL PROTECTED]> wrote:
> >> Try using $QS and $QL.
> >>
> >> --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> >>
> >> > I need to work on an array something like this.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to