Futurebasic/Language/Reference/asc

Function
✔ Appearance ✔ Standard ✔ Console

Syntax
ASCIIcode% = asc( string$ ) ASCIIcode% = asc( container$$ )

Revised
July 28, 2000 (Release 3)

Description
Returns the ASCII character code for the first character in  or. (A character code is a numeric value in the range of 0 through 255 that represents a specific character in the American Standard Code for Information Interchange (ASCII).) If  (or  ) contains no characters, then   returns zero.

The ASCII character codes between 32 and 127 represent standard characters which generally remain the same from one font family to another. Codes greater than 127 represent different sets of characters depending on the font. Codes below 32 usually represent non-printing "characters."