Core Function Chr

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> Chr( <expression> ) </pre> === Description === Returns a character corresponding to an ASCII code. === Parameters === ==== char ==== The character to get the code for....")
Newer edit →

Revision as of 10:19, 3 December 2011

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