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
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
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
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
: [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
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
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
]
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