Page 1 of 1

manual a little out of date?

Posted: 06 Nov 2018, 14:58
by GPenn
Hi,

Just wanted to mention that a few things in the manual seem either wrong or out of date. I am using elegant version 34.4.1.

On page 10, %s is described as taking the name of the lattice file (without the extension), but it seems to be the input file name (at least when there is one).

On page 11, it says that RPN calculations require parentheses around them to work. Just quotes is enough for the input file, although either way works. But for the lattice file, it only works with quotation marks, if you also put in parentheses there is an error message "unknown token".

-Gregg

Re: manual a little out of date?

Posted: 06 Nov 2018, 19:12
by michael_borland
Gregg,

Thanks, those will be fixed and/or clarified in the next edition.

By the way, I don't think quotes only works for rpn expressions. It shouldn't. The right syntax is

Code: Select all

betax = "(3 sqrt)"
In the lattice file, one doesn't need the parentheses, e.g., just use

Code: Select all

b1: sben,angle="pi 3 /",l="3 sqrt"
--Michael

Re: manual a little out of date?

Posted: 08 Nov 2018, 16:49
by GPenn
Yes, I was a little too quick to say that the parentheses are optional. Elegant didn't give an error when I tried leaving them out, but it just grabbed the first number and ignored the RPN calculations. In the lattice file, if I try to use parentheses it actually cannot parse the statement and exits.

-Gregg