On Jul 11, 2006, at 11:22 PM, Maury Pepper wrote:

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)



Aaah...You let the cat out of the bag!   :-)

Gregory Woodhouse
"The most incomprehensible thing about the world is that it is at all comprehensible."
 --Albert Einstein (1879-1955)



-------------------------------------------------------------------------
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