$chr » History » Version 4
Per Amundsen, 02/16/2023 09:14 PM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$chr(N)* |
||
4 | |||
5 | 2 | Per Amundsen | Returns the character with "ASCII":http://www.asciitable.com/ value N. |
6 | 1 | Per Amundsen | |
7 | 3 | Per Amundsen | _Also see [[$asc]] for the reversed version._ |
8 | |||
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | 4 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | N | the "ASCII":http://www.asciitable.com/ value. | |
||
14 | 1 | Per Amundsen | |
15 | *Example* |
||
16 | |||
17 | <pre> |
||
18 | 2 | Per Amundsen | ;Returns ASCII character A |
19 | 1 | Per Amundsen | //echo -ag $chr(65) |
20 | |||
21 | 2 | Per Amundsen | ;Returns ASCII character * |
22 | 1 | Per Amundsen | //echo -ag $chr(42) |
23 | </pre> |