Re: Integer to String
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Mar 21, 1998
- 802 views
-----Original Message----- From: Eduardo Uemura Okada <cool at MII.NUTECNET.COM.BR> To: Multiple recipients of list EUPHORIA <EUPHORIA at MIAMIU.ACS.MUOHIO.EDU> Date: zaterdag 21 maart 1998 18:39 Subject: Integer to String | Hi all, I am sending a little function to perform an integer-to-string |convertion. | No, I am sure, the value function can perform a string-to-integer, this |one makes the reverse way. | Sometime past I wrote to this list asking for something like this, |because I needed to write to the disk and read with getc to convert to a |string, now It does in a mathematic way (or something like), I don't know if |it will be useful, it can convert values from 1 to 999. | Bye. Value will handle any object, sequence, atom, etc. THe other way around for just an integer is offcourse sprintf. (see library.doc) If you want one that handles sequences, and atoms as well, you're could use one of the extra goodies from RDS, it's on their archive page. If you want to save and load an integer or sequence, or atom, or any kind of object, to disk with good efficiency.. try EDOM2 (bug free version out tomorrow..) --Ralf