[Tutor] String to integer?

Alan Gauld alan.gauld at blueyonder.co.uk
Wed Sep 1 22:48:46 CEST 2004


> What's the easiest way of creating an integer which is based on a
value of
> a letter? I really don't mind if it was based on the ascii code, or
> another equivalent.

ASCII code is found from ord(char).
Seems as good a planas any :-)

Alan G.



More information about the Tutor mailing list