User Tools

Site Tools


en:asc

Asc (Function)

Format

Description

Converts the first character in a string_expression expression to an integer representing it's UNICODE value.

AscChrAscChrAscChrAscChrAscChrAscChr
32SPACE48064@80P96`112p
33!49165A81Q97a113q
3450266B82R98b114r
35#51367C83S99c115s
36$52468D84T100d116t
37%53569E85U101e117u
38&54670F86V102f118v
39'55771G87W103g119w
40(56872H88X104h120x
41)57973I89Y105i121y
42*58:74J90Z106j122z
43+59;75K91[107k123{
44,60<76L92\108l124|
45-61=77M93]109m125}
46.62>78N94^110n126~
47/63?79O95_111o127

See Also

Chr

Example

print asc("A")
print asc("blue")

will print

65
98

See Also

History

0.9.4New To Version
en/asc.txt · Last modified: 2020/02/28 10:46 (external edit)