1. Help Me!!!
- Posted by The Reaper <reaper at LOKI.ATCON.COM> Feb 02, 1997
- 1391 views
I am not sure if it is possible, but is there any way to change a integer (like 2350) into a string (like "2350")? Or, this is for David Gay, is there any way to read a number through your putsxy() procedures? Thanks. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The Reaper (J. Lays) http://www.dragonfire.net/~TheReaper/ reaper at auracom.com ........................ . .. -||..........__...... "There are no miracles, . / ||......../-- \\.:::: Just dreams that come true, . ..| ||...... / o o| |.::: By the actions of someone .| _-||.......|| / /.:::: Who didn't waste time dreaming." ..| |..||...... -\_ \ |\-.::: .| |.[< \ .../ \.:: .||.|||\|\ | . \.:::: ...|.\|| | \ | | |.:::. . .....|||_ | / |.::. . ..||/..-__\ --- | |.::::. ..||.......|.__ |.:::::::. .||.......| /.::::::..... ...||......| /.::::::::::... . ..||......| |.:::::: ..||......| |.::::::::::. ...||.....| |.::::::.... . .....||.....| |.:::....... ------ || --- | | ---------- || |
2. Re: Help Me!!!
- Posted by David Alan Gay <moggie at INTERLOG.COM> Feb 02, 1997
- 1379 views
> I am not sure if it is possible, but is there any way to change a integer > (like 2350) into a string (like "2350")? Yes, by using sprintf(). You can use it to convert a number to a string value. Works just like printf except the output goes to a sequence value instead of a device. > Or, this is for David Gay, is there any way to read a number through your > putsxy() procedures? > Yes, by converting it to a string by using sprintf() :) Thanks David Gay http://www.interlog.com/~moggie/euphoria.htm
3. Re: Help Me!!!
- Posted by The Reaper <reaper at LOKI.ATCON.COM> Feb 02, 1997
- 1365 views
At 03:34 AM 2/2/97 -0500, you wrote: >Yes, by using sprintf(). You can use it to convert a number to a string >value. Works just like printf except the output goes to a sequence value >instead of a device. Thanks! I must of missed that one when I was going through all the different print commands in library.doc (I really should print that out). >Yes, by converting it to a string by using sprintf() :) Um, thanks. Hey, good work on that putsxy() procedure, though, its really useful in a graphical game. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The Reaper (J. Lays) http://www.dragonfire.net/~TheReaper/ reaper at auracom.com ........................ . .. -||..........__...... "There are no miracles, . / ||......../-- \\.:::: Just dreams that come true, . ..| ||...... / o o| |.::: By the actions of someone .| _-||.......|| ^ / /.:::: Who didn't waste time dreaming." ..| |..||...... -\_- \ |\-.::: .| |.[< \ .../ \.:: .||.|||\|\ | -REAPER- . \.:::: ...|.\|| | \ | | |.:::. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
4. Re: Help Me!!!
- Posted by David Alan Gay <moggie at INTERLOG.COM> Feb 02, 1997
- 1369 views
> Thanks! I must of missed that one when I was going through all the different > print commands in library.doc (I really should print that out). > You're very welcome. That's what we are all here for :) > Um, thanks. Hey, good work on that putsxy() procedure, though, its really > useful in a graphical game. Thanks for your comments about putsxy(). I wrote it specifically for the upcoming tutorial because with the previous tutorial I had to work my graphics around the text. I'd rather place my text anywhere I want at a pixel pair co-ordinate. It's a little rough around the edges but it works marvelously! :) Have fun! David Gay http://www.interlog.com/~moggie