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 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
we64
|
Posted: Mon Feb 09, 2004 8:39 pm Post subject: (No subject) |
|
|
use intstr |
|
|
|
|
|
mapleleafs
|
Posted: Mon Feb 09, 2004 8:51 pm Post subject: (No subject) |
|
|
what is intstr?? i never heard of it. |
|
|
|
|
|
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 |
|
|
|
|
|
jonos
|
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 |
|
|
|
|
|
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 |
|
|
|
|
|
recneps
|
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 |
|
|
|
|
|
jonos
|
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. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Andy
|
Posted: Sun Feb 15, 2004 2:51 pm Post subject: (No subject) |
|
|
fine go ahead and plead idiocy |
|
|
|
|
|
sport
|
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)
|
|
|
|
|
|
|
|