Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <!-- |
2 | Copyright (c) 2000-2014 Ericsson Telecom AB | |
3 | ||
4 | All rights reserved. This program and the accompanying materials | |
5 | are made available under the terms of the Eclipse Public License v1.0 | |
6 | which accompanies this distribution, and is available at | |
7 | http://www.eclipse.org/legal/epl-v10.html | |
8 | --> | |
9 | <html> | |
10 | <head> | |
11 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
12 | <meta http-equiv="Content-Language" content="en-us"> | |
13 | <title>in</title> | |
14 | </head> | |
15 | <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258"> | |
16 | <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top> | |
17 | <tr> | |
18 | <td width=105 height=40><a href="https://projects.eclipse.org/projects/tools.titan"><img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"></a></td> | |
19 | </tr> | |
20 | </table> | |
21 | <table border="0" align="right" cellpadding="0" cellspacing="0"> | |
22 | <tr> | |
23 | <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td> | |
24 | <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td> | |
25 | <td><a href="import.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td> | |
26 | <td><a href="inconc.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td> | |
27 | </tr> | |
28 | </table> | |
29 | <p><br clear="all"> | |
30 | </p> | |
31 | <hr> | |
32 | <h1>in</h1> | |
33 | <hr align="left" width="75%"> | |
34 | <p>The keyword is used in conjunction with other keywords to refer to the incoming direction. | |
35 | <ol> | |
36 | <li> together with the keyword <b><font face="Courier New" color="#003258" size="4">function</font></b> it is used to designate parameters that <a href="function.html#inout" | |
37 | target="_blank"><b>may only be read</b></a> inside the parameterized function;</li> | |
38 | <li>together with the keyword <b><font face="Courier New" color="#003258" size="4">port</font></b> it is used to designate messages or procedures that a given port <a href="port.html#Example" | |
39 | target="_blank"><b>may only receive</b></a>;</li> | |
40 | <li> together with the keyword <b><font face="Courier New" color="#003258" size="4">signature</font></b> it is used to designate parameters that <a href="signature.html#parameter_list" | |
41 | target="_blank"><b>may only be read</b></a> by the called procedure.</li> | |
42 | </ol> | |
43 | <hr align="left" width="50%"> | |
44 | <p>Related keywords:</p> | |
45 | <ul> | |
46 | <li><a href="function.html"><b><font face="Courier New" color="#003258" size="4">function</font></b></a></li> | |
47 | <li><a href="port.html"><b><font face="Courier New" color="#003258" size="4">port</font></b></a></li> | |
48 | <li><a href="signature.html"><b><font face="Courier New" color="#003258" size="4">signature</font></b></a></li> | |
49 | </ul> | |
50 | <hr align="left" width="50%"> | |
51 | <div align="center"> | |
52 | <center> | |
53 | <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4"> | |
54 | <tr> | |
55 | <td width="100%"> | |
56 | <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>in</b></font>...</h3> | |
57 | </td> | |
58 | </tr> | |
59 | </table> | |
60 | </center> | |
61 | </div> | |
62 | <hr align="left" width="25%"> | |
63 | <hr align="left" width="25%"> | |
64 | <p><a HREF="BNF.html#formalvaluepar">BNF definition</a> of <font face="Courier New">in</font> (sense 1 and 3)<br> | |
65 | <a HREF="BNF.html#direction">BNF definition</a> of <font face="Courier New">in</font> (sense 2)</p> | |
66 | </body> | |
67 | </html> |