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

Username:   Password: 
 RegisterRegister   
 help with a Fon.Draw workaround
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
n00b.skillz




PostPosted: Sat Jan 13, 2007 3:11 pm   Post subject: help with a Fon.Draw workaround

well well any help is appreciated i'm workin on my isp and it is due this tuesday Sad Here's the problem i have put a counter into my trivia program but throughout the program i am using Font.Draw, So to be consistent i would like it to say something like Font.Draw("you have scored ",count," out of 20", 75, 570, fontID, green) but the thing is i cannot put the count variable into a Font.Draw like in a put statement so if anyone knows some kind of workaround it would be greatly appreciated.
Sponsor
Sponsor
Sponsor
sponsor
Ultrahex




PostPosted: Sat Jan 13, 2007 3:43 pm   Post subject: Re: help with a Fon.Draw workaround

Convert the Integer to type String Smile

code:
var font : int := Font.New ("serif:12")
var score:=10
Font.Draw("you have scored " + intstr(score) + " out of 20", 0, 100, font, red)
n00b.skillz




PostPosted: Sat Jan 13, 2007 4:27 pm   Post subject: Re: help with a Fon.Draw workaround

omg honestly u are my hero!!!!!! that was buggin me so long i thought i wouldn't find out in time but thx alot!!!!
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  [ 3 Posts ]
Jump to:   


Style:  
Search: