For Programmers: Free Programming Magazines  


Home > Archive > Dylan > December 2004 > Maybe an FAQ but i can't find it, ASCII -> Integer conversion









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Maybe an FAQ but i can't find it, ASCII -> Integer conversion
Michael Erdmann

2004-12-28, 8:57 pm

I have a relativle simple problem. I like to convert
an string "1234" into an integer, i can't find any thing
in the FAQ documents nor in the DRM?? The sematic of
'as' is something different.


Regards
M.Erdmann



Neelakantan Krishnaswami

2004-12-28, 8:57 pm

In article <41D1BF36.1020308@snafu.de>, Michael Erdmann wrote:
>
> I have a relativle simple problem. I like to convert an string
> "1234" into an integer, i can't find any thing in the FAQ documents
> nor in the DRM?? The sematic of 'as' is something different.


I don't know where to look in Fun-Dev, but Gwydion has a function
string-to-integer in the string-conversions module of the
string-extensions library.

--
Neel Krishnaswami
neelk@cs.cmu.edu
Michael Erdmann

2004-12-29, 8:56 am

Neelakantan Krishnaswami wrote:
> In article <41D1BF36.1020308@snafu.de>, Michael Erdmann wrote:
>
>
>
> I don't know where to look in Fun-Dev, but Gwydion has a function
> string-to-integer in the string-conversions module of the
> string-extensions library.
>

Thanks, this works. Any way i am wondering what was on the mind
of the DRM authors not providing such a function?


Michael

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com