forums

TNT Basic Forums > Programming Q&A
Drawing Strings
< Last Thread     Next Thread >
Author
Thread        Post A Reply

07-27-2008 15:40

Posted by:
raddakar

Location:
Montreal

Click Here to Email raddakar   Find more posts by raddakar

is there a way to draw string variables in text, an how?

I usually do like this in print:

print "A", e1name, "appeared!"


but when i do that in draw text:

draw text 200,200, "A", e1name, "appeared!"


they dont accept it. Is there a simple way to make it work?

07-27-2008 17:43

Posted by:
swagIT

Location:
Great Wet North (Vancouver)

Find more posts by swagIT

You need to use '+' signs not commas I believe.....

Not at my mac to confirm though.....

07-27-2008 20:52

Posted by:
raddakar

Location:
Montreal

Click Here to Email raddakar   Find more posts by raddakar

Great, thanks.

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.