Core Function Asc
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 19: | Line 19: | ||
=== Remarks === | === Remarks === | ||
− | + | None | |
=== Example === | === Example === |
Revision as of 10:13, 3 December 2011
Asc( <expression> )
Contents |
Description
Returns the ASCII 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 ASCII code of the specified char.
Remarks
None
Example
$code = Asc("A"); MsgBox("ASCII code for A: $code");