Page 1 of 1

rpn variable in "insert"

Posted: 02 Aug 2011, 14:19
by Max
Dear Michael and collaborators,

I carry out an rpn_load that works correctly in my .ele file, loading an rpn variable as, for instance, 2.0 e-0.004->s.diffml
However, if I try to use the same variable in

&insert_elements
name=BPM_PK_LH.1
element_def = "DCX1:MALIGN,DX=s.diffml"
&end

I get the answer "unknown token: s.diffml"

Am I not allowed to use the rpn variable in this fashion ?

Thanks a lot, Max

Re: rpn variable in "insert"

Posted: 02 Aug 2011, 15:23
by michael_borland
Max,

Unfortunately, that doesn't work at this time. We'll try to get it in the next release.

--Michael

Re: rpn variable in "insert"

Posted: 02 Aug 2011, 15:32
by michael_borland
Max,

Actually, I was wrong. It should work if you do this:

&insert_elements
name=BPM_PK_LH.1
element_def = "DCX1:MALIGN,DX=\"s.diffml\""
&end

I.e., you need to use "escaped" quotation marks around the rpn expression.

--Michael