Project

General

Profile

$asc » History » Version 4

Per Amundsen, 08/12/2015 10:52 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$asc(C)*
4
5 2 Per Amundsen
Returns the "ASCII":http://www.asciitable.com/ value of the character C.
6 1 Per Amundsen
7 4 Per Amundsen
_Also see [[$chr]] for the reversed version._
8
9 1 Per Amundsen
*Parameters*
10
11
C - The character.
12
13
*Example*
14
15
<pre>
16 3 Per Amundsen
; Returns 65.
17 1 Per Amundsen
//echo -ag $asc(A)  
18
19 3 Per Amundsen
; returns 42
20 1 Per Amundsen
//echo -ag $asc(*)
21
</pre>