Re: Converting text to integers

new topic     » goto parent     » topic index » view thread      » older message » newer message

>>I need a little help. I'm trying to parse out a BLASTER environment setting
>>with the getenv function. I am sucessful with that but I can't seem to be
>>able to covert the values from the string to an integer or atom.
>>I.E. "A255 I5 D3". I can parse out the 255, 5 and 3 but I can't convert them
>>to integers (The ouput of the program is in text right now for debug purposes)

- snip

>I did some minor modif to your code and added to functions HexToDec() and
AToI()

>Jacques Deschenes
>Baie-Comeau, Quebec
>Canada
>desja at quebectel.com

Thanks Jacques! I would have been pulling my hair out for a while on this one.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu