Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Convert Integer to String?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mapleleafs




PostPosted: 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
Sponsor
sponsor
we64




PostPosted: Mon Feb 09, 2004 8:39 pm   Post subject: (No subject)

use intstr
mapleleafs




PostPosted: Mon Feb 09, 2004 8:51 pm   Post subject: (No subject)

what is intstr?? i never heard of it.
Andy




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: 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
jonos




PostPosted: 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
Sponsor
sponsor
Andy




PostPosted: Sun Feb 15, 2004 2:51 pm   Post subject: (No subject)

fine go ahead and plead idiocy
sport




PostPosted: 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)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: