source: PSPA/madxPSPA/doc/usrguide/Introduction/integer.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: 798 bytes
Line 
1<head>
2<title>Integer Attributes</title>
3<!-- Changed by: Chris ISELIN, 24-Jan-1997 -->
4<!-- Changed by: Hans Grote, 10-Jun-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>Integer Attributes</h2>
13</center>
14
15An integer attribute usually denotes a count.
16Example:
17<pre>
18myline:line=(-3*(a,b,c));
19</pre>
20In this case, a litteral integer is requested; however, in the following
21<pre>
22rfc:rfcavity,harmon=12345;
23</pre>
24or
25<pre>
26rfc:rfcavity,harmon=num;
27</pre>
28"num" may be an integer variable, a real variable, or an expression
29(in the two latter cases, the value is truncated).
30
31<address>
32<a href="http://www.cern.ch/Hans.Grote/hansg_sign.html">hansg</a>,
33May 8, 2001
34</address>
35
36</body>
Note: See TracBrowser for help on using the repository browser.