Author |
Message |
mapleleafs
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
we64
![](http://i5.photobucket.com/albums/y174/we64/LJDisplayPicture.jpg)
|
Posted: Mon Feb 09, 2004 8:39 pm Post subject: (No subject) |
|
|
use intstr |
|
|
|
|
![](images/spacer.gif) |
mapleleafs
|
Posted: Mon Feb 09, 2004 8:51 pm Post subject: (No subject) |
|
|
what is intstr?? i never heard of it. |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Mon Feb 09, 2004 9:07 pm Post subject: (No 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 |
|
|
|
|
![](images/spacer.gif) |
jonos
![](http://jonos.f2g.net/pictures/rankca.gif)
|
Posted: Mon Feb 09, 2004 9:11 pm Post subject: (No 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 |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Mon Feb 09, 2004 9:12 pm Post subject: (No subject) |
|
|
jonos, plz read other ppl's messages b4 replying, what u said does the exact samething as pressing F9 |
|
|
|
|
![](images/spacer.gif) |
recneps
![](http://www.fcpocanada.com/canada1.gif)
|
Posted: Tue Feb 10, 2004 3:50 pm Post subject: (No 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 Smile](http://compsci.ca/v3/images/smiles/icon_smile.gif) |
|
|
|
|
![](images/spacer.gif) |
jonos
![](http://jonos.f2g.net/pictures/rankca.gif)
|
Posted: Sun Feb 15, 2004 9:25 am Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Andy
|
Posted: Sun Feb 15, 2004 2:51 pm Post subject: (No subject) |
|
|
fine go ahead and plead idiocy |
|
|
|
|
![](images/spacer.gif) |
sport
![](http://www.members.shaw.ca/rfolz/e17661eqn7y.jpg)
|
Posted: Sun Feb 15, 2004 2:55 pm Post subject: (No subject) |
|
|
code: |
var size_str:string
var size:int
put "Size: "..
get size
size_str:=intstr(size)
|
|
|
|
|
|
![](images/spacer.gif) |
|