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>value</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="unmap.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td> | |
26 | <td><a href="valueof.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>value</h1> | |
33 | <hr align="left" width="75%"> | |
34 | <p>The keyword is a homonym. It is used to... | |
35 | <ol> | |
36 | <li>return a value compatible with the one declared in the signature when replying to a previously accepted procedure call. See the examples at the keyword <a href="reply.html#Example 1" | |
37 | target="_blank"><b><font face="Courier New">reply</font></b></a>.</li> | |
38 | <li>store the value removed from the port queue. This usage occurs with the keywords <b><font face="Courier New" color="#003258" size="4">getreply</font></b>, <b><font face="Courier New" | |
39 | color="#003258" size="4">receive</font></b>, <b><font face="Courier New" color="#003258" size="4">trigger</font></b> and <b><font face="Courier New" color="#003258" size="4">catch</font></b>.</li> | |
40 | <li>match the value returned by the <b><font face="Courier New" color="#003258" size="4">reply</font></b> operation against a template or expression. This usage occurs with the keyword <b><font | |
41 | face="Courier New" color="#003258" size="4">getreply</font></b>.</li> | |
42 | </ol> | |
43 | <hr align="left" width="50%"> | |
44 | <p>Related keywords:</p> | |
45 | <ul> | |
46 | <li><a href="catch.html"><b><font face="Courier New" color="#003258" size="4">catch</font></b></a></li> | |
47 | <li><a href="getreply.html"><b><font face="Courier New" color="#003258" size="4">getreply</font></b></a></li> | |
48 | <li><a href="receive.html"><b><font face="Courier New" color="#003258" size="4">receive</font></b></a></li> | |
49 | <li><a href="reply.html"><b><font face="Courier New" color="#003258" size="4">reply</font></b></a></li> | |
50 | <li><a href="trigger.html"><b><font face="Courier New" color="#003258" size="4">trigger</font></b></a></li> | |
51 | </ul> | |
52 | <hr align="left" width="50%"> | |
53 | <div align="center"> | |
54 | <center> | |
55 | <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4"> | |
56 | <tr> | |
57 | <td width="100%"> | |
58 | <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>value</b></font>...</h3> | |
59 | </td> | |
60 | </tr> | |
61 | </table> | |
62 | </center> | |
63 | </div> | |
64 | <hr align="left" width="25%"> | |
65 | <hr align="left" width="25%"> | |
66 | <p><a HREF="BNF.html#replyvalue">BNF definition</a> of <font face="Courier New">value</font> in sense 1.<br> | |
67 | <a HREF="BNF.html#valuespec">BNF definition</a> of <font face="Courier New">value</font> in sense 2.<br> | |
68 | <a HREF="BNF.html#valuematchspec">BNF definition</a> of <font face="Courier New">value</font> in sense 3.</p> | |
69 | </body> | |
70 | </html> |