PUGS X=A,B,C,D
PUGW $L(X,,)
4
PUG
-poo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Toppenberg
Sent: Wednesday, November 30, 2005 6:31 PM
To: Hardhats Sourceforge
Subject: [Hardhats-members] How to count pieces?
It seems like I saw code once
Thanks Larry.
Kevin
On 12/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:PUGS X=A,B,C,DPUGW $L(X,,)
4PUG-poo
--- [EMAIL PROTECTED] wrote:
I'm not sure what this last example $E(X,,,2) is supposed to show,
since it really is showing that a comma , evaluates as an integer
to zero (0) and $EXTRACT(X,0,2) is that same as $EXTRACT(X,1,2)
which is the character subsring of X from position 1 through
--- [EMAIL PROTECTED] wrote:
PUGS X=A,B,C,D
PUGW $L(X,,)
4
PUG
-poo
Greg Woodhouse replied:
And, of course, using $EXTRACT to retrieve values
MNTS X=ABC,DEF,GHI
MNTW $E(2)
2
MNTW $E(X,,,2)
AB
I'm not sure what this last example $E(X,,,2) is supposed to show,
It seems like I saw code once that counted pieces, ie.
a,b,c,d^e,f --- 5 pieces, using , as a divider, and 2 pieces,
using ^ as a divider.
It seems like this was done with a Mumps command?
Can someone tell if this is possible?
Thanks
Kevin
, 2005 6:31 PM
Subject: [Hardhats-members] How to count pieces?
It seems like I saw code once that counted pieces, ie.
a,b,c,d^e,f --- 5 pieces, using , as a divider, and 2 pieces,
using ^ as a divider.
It seems like this was done with a Mumps command?
Can someone tell if this is possible?
Thanks
Toppenberg [EMAIL PROTECTED]
To: Hardhats Sourceforge hardhats-members@lists.sourceforge.net
Sent: Wednesday, November 30, 2005 6:31 PM
Subject: [Hardhats-members] How to count pieces?
It seems like I saw code once that counted pieces, ie.
a,b,c,d^e,f --- 5 pieces, using , as a divider, and 2