August 2003
Intermediate to advanced
1140 pages
68h 45m
English
Asc
Asc(character)Returns the ASCII character code (number) for a given character. Here’s an example that generates a chart of the printable ASCII character codes:
<table border="1">
<tr><th>Character</th><th>ASCII Code</th></tr>
<cfloop index="Character" from="33" to="255">
<cfoutput>
<tr><td>#Chr(Character)#</td><td>#Asc(Chr(Character))#</td></tr>
</cfoutput>
</cfloop>
</table>