Nope. Real nice try though. It might be
better done as;
S (J(N),DK)=+@("$P("_R_"0),U,2)"),R=$P(^(0),U)
While this looks like the parens are not
even, please remember that the R is probably of the form, "^DPT(DA,". It
is also a sneaky way of changing the focus of the naked reference ^(0). In
the example I just drew, we would be looking at the first piece of ^DPT(DA,0)
and not ^DPT(0) as some might expect. The circuitous reference through R
is to allow greater flexibility to be pointing to nearly any other entity or
sub-entity in the same way.
|
- Re: [Hardhats-members] M syntax question Chris Richardson
- Re: [Hardhats-members] M syntax question Gregory Woodhouse
- Re: [Hardhats-members] M syntax question Kevin Toppenberg
- Re: [Hardhats-members] M syntax question Chris Richardson
- Re: [Hardhats-members] M syntax question Kevin Toppenberg
- Re: [Hardhats-members] M syntax questio... Gregory Woodhouse
- Re: [Hardhats-members] M syntax qu... Greg Kreis
- Re: [Hardhats-members] M syntax questio... Chris Richardson
- Re: [Hardhats-members] M syntax question Jim Self
- Re: [Hardhats-members] M syntax question Kevin Toppenberg
- Re: [Hardhats-members] M syntax question Jim Self