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
rpn variable in "insert"
Moderators: cyao, michael_borland
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: rpn variable in "insert"
Max,
Unfortunately, that doesn't work at this time. We'll try to get it in the next release.
--Michael
Unfortunately, that doesn't work at this time. We'll try to get it in the next release.
--Michael
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: rpn variable in "insert"
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
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