Page 1 of 1

comment ignored in lattice definition

Posted: 12 Sep 2008, 11:06
by petrenko
This line in lattice definition for some reason is not treated as a comment:

!QT_M : MULTIPOLE,K1L=0.298914

Elegant says:
...
Error: unknown parameter K1L used for !QT_M MULT (parse_element)
valid parameters are:L (0.0000000000000000 M)
...

Re: comment ignored in lattice definition

Posted: 12 Sep 2008, 13:23
by michael_borland
The problem is the leading space. The ! character only introduces a comment when it occurs as the first character in the line.

--Michael