Core Function AscW
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> Asc( <expression> ) </pre> === Description === Returns the ASCII code of a character. === Parameters === ==== char ==== The character to get the code for. If a string ...") |
|||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | + | AscW( <char> ) | |
</pre> | </pre> | ||
=== Description === | === Description === | ||
− | Returns the | + | Returns the UNICODE code of a character. |
=== Parameters === | === Parameters === |
Revision as of 10:13, 3 December 2011
AscW( <char> )
Contents |
Description
Returns the UNICODE code of a character.
Parameters
char
The character to get the code for. If a string is used, the code for the first character is given.
Return Value
Returns the unicode code of the specified char.
Remarks
None
Example
$code = AscW("A"); MsgBox(0, "Unicode code for A: $code");