[texhax] Finding ascii value of a parameter

Michael Barr barr at barrs.org
Thu Oct 23 22:50:17 CEST 2003


The code 
\newcount \temp
\temp`\a
\showthe\temp

will produce 97, the ascii code for a.  Is there any way to define a macro 
\ascii with the property that
\ascii a
\showthe\temp
will produce the number 97 in the same way?



More information about the texhax mailing list