lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* "Benjamin Esham" <bdesham@iname.com>:

> Is there a way to get the string equivalent of a given integer ASCII
> value? In other words, a function foo() where foo(65) would return 'A'.  I
> tried the strchar() function, but it didn't seem to work right (and the
> manual does say that it's non-portable).

My apologies.  I was passing an incorrect value to the strchar() function,
and when I fixed this, I found that it does indeed deal with ASCII values.
Again, sorry for not doing my homework and for posting crap to the list.

-- 
Benjamin D. Esham      {      http://bdesham.net
bdesham@iname.com      }      AIM: s c e s a r 1