Ord

From BR Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
ORD(<string>)

The Ord internal function returns the ASCII ordinate value (from 0 to 255) of the first character in the string$.

Comments and Examples

ORD("A") is 65 because A is represented by 65 in the ASCII chart.

Related Functions:

Inverse function is Chr$(X).

Technical Considerations

  1. Characters after the first character of the string A$ are ignored.