
-----------------------------------
mightymoosie
Tue Mar 07, 2006 9:06 pm

Is it possible...
-----------------------------------
Ok guys, I'm not reall too noob at Turing, but still fairly unknowing. Anywayz, I need to know is there anyway that i can put a variable in a Font. Draw command. This is my coding

var font:int
    font:= Font.New("arial:12")
    Font.Draw("This si your subtotal",subtotd,"", 100, 200, font, white)

subtotd is teh var i want to display within my font draw. 
Any help would be greatly appreciated

-----------------------------------
[Gandalf]
Tue Mar 07, 2006 9:43 pm


-----------------------------------
 Font.Draw("This si your subtotal: " + intstr(subtotd), 100, 200, font, white) 
intstr() converts the integer to a string, so that it can be concatenated to the other text using the + operator.

Also, please note the use of code tags in the future.

-----------------------------------
mightymoosie
Tue Mar 07, 2006 9:45 pm


-----------------------------------
yo man , thanx that really helps
