ASCII character


ASCII outputs the American Standard Code for Information Interchange (ASCII) value of its input. If its input is a word, ASCII outputs the ASCII value of the first character in the word. ASCII outputs an integer between 0 and 255. The input must contain at least one character. The character can be a letter, number or special character.

To output the character corresponding to an ASCII code input, use CHAR.



Result: 65

? ASCII "1

Result: 49


? ASCII "a

Result: 97

? ASCII "/

Result: 47

The American Standard Code for Information Interchange (ASCII) is a standard code for representing numbers, letters and symbols. The IBM Personal Computer has many unique characters that are also represented by ASCII codes.

An ASCII file is a text file where the characters are represented in ASCII codes. PC Logo saves its files as text or ASCII files.