source: PSPA/madxPSPA/doc/usrguide/Introduction/variable.html @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.1 KB
Line 
1<head>
2<title> variable names</title>
3<!-- Changed by: Chris ISELIN, 27-Jan-1997 -->
4<!-- Changed by: Hans Grote, 30-Sep-2002 -->
5</head>
6
7<body bgcolor="#ffffff">
8
9<center>
10EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH
11<IMG SRC="http://cern.ch/madx/icons/mx7_25.gif" align=right>
12<h2>Variable Names</h2>
13</center>
14
15A variable name can have one of the formats:
16<pre>
171. parameter-name
182. element-name->attribute-name
193. command-name->attribute-name
204. beam%sequence-name->attribute-name
215. table(table-name,..,..)
22</pre>
23The first format refers to the value of the
24<a href="parameter.html">global parameter</a> "parameter-name",
25the second and third formats refer to the
26<a href="real.html">real attribute</a>
27"attribute-name" of the element "element-name", or the command "command-name".
28NUmber four is specific to beams belonging to a particular sequence (for
29details see
30<a href="sequence.html#beam">sequences and beams</a>).
31Number five allows extraction of variables from existing tables, as specified
32in <a href="expression.html#table">table access</a>.
33<p>
34<address>
35<a href="http://www.cern.ch/Hans.Grote/hansg_sign.html">hansg</a>,
36May 8, 2001
37</address>
38
39</body>
Note: See TracBrowser for help on using the repository browser.