EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH

Name or String Attributes

A name or string attribute often selects one of a set of options:
use,period=lhc;    // expand the LHC sequence
It may also refer to a user-defined object:
twiss,file=optics;    // specifies the name of the OPTICS output file
It may also define a string:
title,"LHC version 6.2";
The case of letters is only significant if a string is enclosed in quotes, otherwise all characters are converted to lower at reading. On the other hand, strings that do not contain blanks do not need to be enclosed in quotes. Example:
call,file="my.file";
call,file=my.file;
call,file=MY.FILE;
call,file="MY.FILE";
call,file='MY.FILE';
In the first three cases, MAD-X will try to read a file my.file, in the last two it will try to read MY.FILE.

hansg, May 8, 2001