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> |
---|
10 | EUROPEAN 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 | |
---|
15 | An integer attribute usually denotes a count. |
---|
16 | Example: |
---|
17 | <pre> |
---|
18 | myline:line=(-3*(a,b,c)); |
---|
19 | </pre> |
---|
20 | In this case, a litteral integer is requested; however, in the following |
---|
21 | <pre> |
---|
22 | rfc:rfcavity,harmon=12345; |
---|
23 | </pre> |
---|
24 | or |
---|
25 | <pre> |
---|
26 | rfc: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>, |
---|
33 | May 8, 2001 |
---|
34 | </address> |
---|
35 | |
---|
36 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.