| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<html> |
| 16 |
<head> |
| 17 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 18 |
<meta http-equiv="Content-Language" content="en-us"> |
| 19 |
<title>int2char</title> |
| 20 |
</head> |
| 21 |
<body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258"> |
| 22 |
<table align="left" border="0" cellspacing="0" cellpadding="0" valign=top> |
| 23 |
<tr> |
| 24 |
<td width=105 height=40> |
| 25 |
<a href="https://projects.eclipse.org/projects/tools.titan"> |
| 26 |
<img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"> |
| 27 |
</a> |
| 28 |
</td> |
| 29 |
</tr> |
| 30 |
</table> |
| 31 |
<table border="0" align="right" cellpadding="0" cellspacing="0"> |
| 32 |
<tr> |
| 33 |
<td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td> |
| 34 |
<td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td> |
| 35 |
<td><a alt="previous" href="int2bit.html"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td> |
| 36 |
<td><a alt="next" href="int2enum.html"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td> |
| 37 |
</tr> |
| 38 |
</table> |
| 39 |
<p> <br clear="all"> </p> |
| 40 |
<hr/> |
| 41 |
<h1>int2char</h1> |
| 42 |
<hr align="left" width="75%"> |
| 43 |
<p>This function converts an |
| 44 |
<b><font face="Courier New">integer</font></b> |
| 45 |
value in the range of 0 ... 127 (8-bit encoding) into a character value of ISO/IEC 646. The integer value describes the |
| 46 |
8-bit encoding of the character. |
| 47 |
<hr align="left" width="50%"/> |
| 48 |
<p>Related keyword:</p> |
| 49 |
<ul> |
| 50 |
<li><b><font face="Courier New" size="4" color="#003258"> <a href="integer.html">integer</a></font></b></li> |
| 51 |
<li><b><a href="charstring.html"><font face="Courier New" size="4" color="#003258"> charstring</font></a></b></li> |
| 52 |
</ul> |
| 53 |
<hr align="left" width="50%"/> |
| 54 |
<div align="center"> |
| 55 |
<center> |
| 56 |
<table border="0" width="90%" bgcolor="#FFB599" cellpadding="4"> |
| 57 |
<tr> |
| 58 |
<td width="100%"> |
| 59 |
<h3 align="center"> |
| 60 |
<font face="Courier New" color="#003258" size="5"> |
| 61 |
<b>int2char</b> |
| 62 |
</font> |
| 63 |
<font face="Courier New" color="#003258" size="5"> |
| 64 |
<b>(</b> |
| 65 |
</font> |
| 66 |
<i>integer value</i> |
| 67 |
<font face="Courier New" color="#003258" size="5"> |
| 68 |
<b>) return charstring</b> |
| 69 |
</font> |
| 70 |
</h3> |
| 71 |
</td> |
| 72 |
</tr> |
| 73 |
</table> |
| 74 |
</center> |
| 75 |
</div> |
| 76 |
<ul> |
| 77 |
<li> |
| 78 |
<p>The function returns -1 if the value of the argument is a negative or greater than 127.</p> |
| 79 |
</li> |
| 80 |
</ul> |
| 81 |
<hr align="left" width="25%"> |
| 82 |
<p>Example 1:</p> |
| 83 |
<p> |
| 84 |
<font face="Courier New"> |
| 85 |
var charstring MyChar;<br/> |
| 86 |
MyChar := int2char(97); // MyChar will contain the character 'a' |
| 87 |
</font></p> |
| 88 |
<hr align="left" width="25%"> |
| 89 |
</body> |
| 90 |
</html> |