Sync with 5.4.0
[deliverable/titan.core.git] / help / info / int2char.html
1 <!--
2 Copyright (c) 2000-2015 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>int2char</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>
19 <a href="https://projects.eclipse.org/projects/tools.titan">
20 <img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan">
21 </a>
22 </td>
23 </tr>
24 </table>
25 <table border="0" align="right" cellpadding="0" cellspacing="0">
26 <tr>
27 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
28 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
29 <td><a alt="previous" href="int2bit.html"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
30 <td><a alt="next" href="int2enum.html"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
31 </tr>
32 </table>
33 <p> <br clear="all"> </p>
34 <hr/>
35 <h1>int2char</h1>
36 <hr align="left" width="75%">
37 <p>This function converts an
38 <b><font face="Courier New">integer</font></b>
39 value in the range of 0 ... 127 (8-bit encoding) into a character value of ISO/IEC 646. The integer value describes the
40 8-bit encoding of the character.
41 <hr align="left" width="50%"/>
42 <p>Related keyword:</p>
43 <ul>
44 <li><b><font face="Courier New" size="4" color="#003258"> <a href="integer.html">integer</a></font></b></li>
45 <li><b><a href="charstring.html"><font face="Courier New" size="4" color="#003258"> charstring</font></a></b></li>
46 </ul>
47 <hr align="left" width="50%"/>
48 <div align="center">
49 <center>
50 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
51 <tr>
52 <td width="100%">
53 <h3 align="center">
54 <font face="Courier New" color="#003258" size="5">
55 <b>int2char</b>
56 </font>
57 <font face="Courier New" color="#003258" size="5">
58 <b>(</b>
59 </font>
60 <i>integer value</i>
61 <font face="Courier New" color="#003258" size="5">
62 <b>) return charstring</b>
63 </font>
64 </h3>
65 </td>
66 </tr>
67 </table>
68 </center>
69 </div>
70 <ul>
71 <li>
72 <p>The function returns -1 if the value of the argument is a negative or greater than 127.</p>
73 </li>
74 </ul>
75 <hr align="left" width="25%">
76 <p>Example 1:</p>
77 <p>
78 <font face="Courier New">
79 var charstring MyChar;<br/>
80 MyChar := int2char(97); // MyChar will contain the character 'a'
81 </font></p>
82 <hr align="left" width="25%">
83 </body>
84 </html>
This page took 0.032562 seconds and 5 git commands to generate.