Author |
Message |
jasonlin6868
|
Posted: Mon May 26, 2008 3:42 pm Post subject: What to use when I can't use Font.Draw |
|
|
Because of the fact that Font.Draw cannot read real and int numbers therefore I am looking for a command that is common to Font.Draw that can read both numbers and words.
Any suggestion?
![Sad Sad](http://compsci.ca/v3/images/smiles/icon_sad.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Mon May 26, 2008 3:45 pm Post subject: RE:What to use when I can\'t use Font.Draw |
|
|
Font.Draw (intstr (myInt),...) |
|
|
|
|
![](images/spacer.gif) |
jasonlin6868
|
Posted: Mon May 26, 2008 3:59 pm Post subject: RE:What to use when I can\'t use Font.Draw |
|
|
Could you explain more specify? |
|
|
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Mon May 26, 2008 4:00 pm Post subject: RE:What to use when I can\'t use Font.Draw |
|
|
Check out F10 for Font.Draw() and intstr() and realstr(). I think you'll figure it out. |
|
|
|
|
![](images/spacer.gif) |
jasonlin6868
|
Posted: Mon May 26, 2008 4:32 pm Post subject: RE:What to use when I can\'t use Font.Draw |
|
|
Don't really get it. Do u have to do the realstr() thing outside or inside of the Font.Draw? |
|
|
|
|
![](images/spacer.gif) |
CodeMonkey2000
|
Posted: Mon May 26, 2008 4:33 pm Post subject: RE:What to use when I can\'t use Font.Draw |
|
|
realstr() takes a real number, and converts it into a string. As Clayton already said, look up intsrt() and realstr() in the Turing help section. |
|
|
|
|
![](images/spacer.gif) |
Sean
![](http://compsci.ca/v3/uploads/user_avatars/47413941748406f441f83e.png)
|
Posted: Mon May 26, 2008 5:34 pm Post subject: Re: What to use when I can't use Font.Draw |
|
|
It's inside the Font.Draw where you have the text part which would be the beginning of your Font.Draw parameters.
|
|
|
|
|
![](images/spacer.gif) |
I Smell Death
|
Posted: Wed May 28, 2008 9:12 am Post subject: Re: What to use when I can't use Font.Draw |
|
|
Here's an other sample
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
|