Computer Science Canada

Convert Integer to String?

Author:  mapleleafs [ Mon Feb 09, 2004 8:27 pm ]
Post subject:  Convert Integer to String?

Okay, I have this program where I ask the user for a number, and I want to display the number in big font using the Font.Draw command but when I try to do that, the debugger says that it has to be a string or something like that. So I was wondering if there's a way to convert the user's chosen number in to a string so that I can manipulate it.

Thx

Author:  we64 [ Mon Feb 09, 2004 8:39 pm ]
Post subject: 

use intstr

Author:  mapleleafs [ Mon Feb 09, 2004 8:51 pm ]
Post subject: 

what is intstr?? i never heard of it.

Author:  Andy [ Mon Feb 09, 2004 9:07 pm ]
Post subject: 

well maybe you should do one of three things
1. ask your teacher
2. search around on the site
3. type it in turing and press F9

Author:  jonos [ Mon Feb 09, 2004 9:11 pm ]
Post subject: 

or you can go to help >> turing reference >> and look for the word (intstr) and have yourself a good time reading some pretty pointless literature

Author:  Andy [ Mon Feb 09, 2004 9:12 pm ]
Post subject: 

jonos, plz read other ppl's messages b4 replying, what u said does the exact samething as pressing F9

Author:  recneps [ Tue Feb 10, 2004 3:50 pm ]
Post subject: 

To expand on what they said, read the turing reference, it can teach you a whole bunch of commands you probably never knew, just type what you wanna do in the search part, or look it up in the index Smile

Author:  jonos [ Sun Feb 15, 2004 9:25 am ]
Post subject: 

the fact is i only read random posts to save time, and i didn't know turing referenced was also f9, so im innocent.

Author:  Andy [ Sun Feb 15, 2004 2:51 pm ]
Post subject: 

fine go ahead and plead idiocy

Author:  sport [ Sun Feb 15, 2004 2:55 pm ]
Post subject: 

code:

var size_str:string
var size:int
put "Size: "..
get size
size_str:=intstr(size)


: