character value
Pickering, John (NORBORD)
PICKERIJ@norbord.com
Wed, 24 Jul 2002 14:22:36 -0400
How about:
define d-decimal int*3 &
= 64 + index("ABCDEFGHIJKLMNOPQRSTUVWXYZ",your-letter)
> -----Original Message-----
> From: Bob Comeau [SMTP:bcomeau@crossley.ca]
> Sent: Wednesday, July 24, 2002 1:47 PM
> To: powerh-l@lists. swau. edu
> Subject: character value
>
> Does anyone know of a way in quiz to get the ASCII value of a single
> character returned as a number?
> I know how to get from a displayable character from an integer, I need to
> go the other way.
>
> For instance if a variable contains the letter "A" I would like to be able
> to that converted to the number 65.
>
> Bob Comeau
> Systems Programmer Analyst
> Crossley Carpet Mills Ltd.
> (902)895-5491 ex 139
>
>