From: David Alan Black Date: 2002-01-24T02:50:24+09:00 Subject: Re: Return the ASCII code ? Hello -- On Thu, 24 Jan 2002, D De Villiers wrote: > David Alan Black wrote: > > >Yes, though the ? only works with character literals (or perhaps > >various eval tricks). Whereas you can do: > > > str = "Hi" > > str[0] > > This will only return the ASCII code for the "H" character (72) not the "i" > character. Yes. (Isn't that what was wanted?) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav