Re: [Hardhats-members] Easy M syntax question

2004-12-01 Thread Kevin Toppenberg
On this same topic... which is correct? Option 1: goto:(i1) SomeLabel or Option 2: goto SomeLabel:(i1) According to what is writen below, I would think Option 2, but I found the following line in XUP that looks like option 1. if ($get(DUZ)'0)!(('$data(DUZ(0 do ASKDUZ^XUP goto:Y'0 XUPAbort

Re: [Hardhats-members] Easy M syntax question

2004-12-01 Thread Greg Kreis
If you put the condition on the command, it controls the entire command, while the argument's condition further refines it. One way I could see doing it, would be to factor out a common AND term to the command condition. Greg Woodhouse wrote: How about both? I personally pefer the

[Hardhats-members] Easy M syntax question

2004-11-03 Thread Kevin Toppenberg
Quick question: if I see a command like this: DO RTN1,RTN2,RTN3:(A1) Then does the postconditional operator affect the calling of functions RTN1 RTN2 RTN3, or just RTN3? I think it is just RTN3 Thanks Kevin __ Do you Yahoo!? Check out the

Re: [Hardhats-members] Easy M syntax question

2004-11-03 Thread whitten
Your intuition is correct. only three Standard MUMPS commands have postconditional operators that apply to their arguments.The DO command, the GOTO command, and the XECUTE command. Quick question: if I see a command like this: DO RTN1,RTN2,RTN3:(A1) Then does the postconditional

Re: [Hardhats-members] Easy M syntax question

2004-11-03 Thread Maury Pepper
: [Hardhats-members] Easy M syntax question Quick question: if I see a command like this: DO RTN1,RTN2,RTN3:(A1) Then does the postconditional operator affect the calling of functions RTN1 RTN2 RTN3, or just RTN3? I think it is just RTN3 Thanks Kevin

RE: [Hardhats-members] Easy M syntax question

2004-11-03 Thread Cameron Schlehuber
You're right, just RTN3 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Toppenberg Sent: Wednesday, November 03, 2004 9:44 AM To: Hardhats Sourceforge Subject: [Hardhats-members] Easy M syntax question Quick question: if I see a command like

Re: [Hardhats-members] Easy M syntax question

2004-11-03 Thread James Gray
It is just RTN3. - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: Hardhats Sourceforge [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 9:44 AM Subject: [Hardhats-members] Easy M syntax question Quick question: if I see a command like this: DO RTN1,RTN2,RTN3:(A1

Re: [Hardhats-members] Easy M syntax question

2004-11-03 Thread Kevin Toppenberg
] To: Hardhats Sourceforge [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 10:44 AM Subject: [Hardhats-members] Easy M syntax question Quick question: if I see a command like this: DO RTN1,RTN2,RTN3:(A1) Then does the postconditional operator affect the calling