Return ASCII value as uint

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue May 8 09:39:00 PDT 2007


"okibi" <okibi at ratedo.com> wrote in message 
news:f1q8ne$3147$1 at digitalmars.com...
> That function contains the i variable from your function. Is there a 
> simple function, or should I use a cast?

Just cast it.  chars are just integers; you can freely cast between 
characters and integers. 




More information about the Digitalmars-d-learn mailing list