@Char (JavaScript)

Returns a character that corresponds to a Unicode value.

Defined in

@Functions (JavaScript)

Syntax

@Char(code:int) : string
Parameter Description
code A Unicode number.
Return value Description
string The character represented by the Unicode number.

Usage

Unicode characters can be represented in strings with escape sequences.
Escape sequence Unicode number Description
\b 8 backspace
\t 9 tab
\n 10 newline
\f 12 form feed
\r 13 carriage return

Examples

This example prints the alphabet A through Z in uppercase.
function p(stuff) {
	print("<<<" + stuff + ">>>");
}

var s = "";
for(var i = 65; i < 91; i++) {
	s = s + @Char(i);
}
p(s);