ascii

AutoCad AutoLISP Functions

 
ascii
 
 
 

Returns the conversion of the first character of a string into its ASCII character code (an integer)

(ascii string)

Arguments

string

A string.

Return Values

An integer.

Examples

Command: (ascii "A")

65

Command: (ascii "a")

97

Command: (ascii "BIG")

66