rpn variable in "insert"

Moderators: cyao, michael_borland

Post Reply
Max
Posts: 50
Joined: 31 Jul 2008, 12:16

rpn variable in "insert"

Post by Max » 02 Aug 2011, 14:19

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

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: rpn variable in "insert"

Post by michael_borland » 02 Aug 2011, 15:23

Max,

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

--Michael

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: rpn variable in "insert"

Post by michael_borland » 02 Aug 2011, 15:32

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

Post Reply