You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 8
Next »
ASC returns the ASCII value of a byte.
Syntax
ASC(StrExp$)
Arguments
- StrExp$ is, in this case, a single byte or string with length 1.
- If you use a string which is longer than 1 byte, you will get a fatal error message
Examples
ASC("A")
returns
65
ASC("3")
returns
51
Example knowledgebases
Download
An example knowledgebase of this function can be downloaded here.
Description
Input
b$ is the value to be calculated. This should be the single byte string.
Relations
A=ASC(b$)
Quick links: Function overviewAttribute overviewConstants overviewDimensions overview