Core Function Chr

From Sputnik Wiki
Jump to: navigation, search
Chr( <expression> )

Contents

Description

Returns a character corresponding to an ASCII code.

Parameters

char

An ASCII code in the range 0-255 (e.g., 65 returns the capital letter A).

Return Value

Success: Returns a string containing the ASCII representation of the given code.

Failure: Returns a blank string.

Remarks

None

Example

$text = "";
For( $i = Asc('A'); $i <= Asc('Z'); $i++)
{
	$text .= Chr($i);
}
MsgBox("Uppercase alphabet $text ");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox