
-----------------------------------
Salman
Sun Jan 20, 2013 6:58 pm

Font
-----------------------------------
What is it you are trying to achieve?
I'm trying to use the Draw.Font command to draw numbers. How do we use it to draw integer variables

What is the problem you are having?



Describe what you have tried to solve this problem



Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)








Please specify what version of Turing you are using


-----------------------------------
Tony
Sun Jan 20, 2013 7:49 pm

RE:Font
-----------------------------------
But Font.Draw only draws strings. So you need to convert from an integer value (e.g. 42) to a string representation of how that number would look like (e.g. "42")

-----------------------------------
Salman
Sun Jan 20, 2013 9:29 pm

RE:Font
-----------------------------------
Would it be strint or intstr?

-----------------------------------
DemonWasp
Sun Jan 20, 2013 10:48 pm

RE:Font
-----------------------------------
Look at the Turing help. One converts integers to strings and the other converts strings to integers. It should be fairly obvious which one you want.
