Core Function Chr

From Sputnik Wiki
Revision as of 10:19, 3 December 2011 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Chr( <expression> )

Contents

Description

Returns a character corresponding to an ASCII code.

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

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