
-----------------------------------
n00b.skillz
Sat Jan 13, 2007 3:11 pm

help with a Fon.Draw workaround
-----------------------------------
well well any help is appreciated i'm workin on my isp and it is due this tuesday :(  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.

-----------------------------------
Ultrahex
Sat Jan 13, 2007 3:43 pm

Re: help with a Fon.Draw workaround
-----------------------------------
Convert the Integer to type String :)

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
Sat Jan 13, 2007 4:27 pm

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!!!!
