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

Username:   Password: 
 RegisterRegister   
 Integers in Text.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
xevious




PostPosted: Sat Nov 19, 2005 11:20 am   Post subject: Integers in Text.

I want my game to count wins, and I have the process figured out, but I can't get it to output the integers using Text.Draw. Is there another command that I can use to place the integers at a specific area on the screen without effecting other parts of the image?

I'd put code...but I don't think it's really necessairy
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Sat Nov 19, 2005 11:25 am   Post subject: (No subject)

You'll need to convert the integer to a string when you draw it. This is done using the intstr() function. Check out the String Manipulation tutorial. A link can be found in the Turing Walkthrough.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: