Core Function Asc

From Sputnik Wiki
Jump to: navigation, search
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");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox