Computer Science Canada Font.Draw Problem |
Author: | ZeroPaladn [ Wed Jan 18, 2006 11:31 am ] | ||
Post subject: | Font.Draw Problem | ||
When i got to draw the text, i get an error message. heres the code, you can try it out.
thanks alot guys. |
Author: | Tony [ Wed Jan 18, 2006 11:36 am ] |
Post subject: | |
I don't have Turing on my Mac. By now you should know to specify what the error is ![]() |
Author: | ZeroPaladn [ Wed Jan 18, 2006 11:51 am ] |
Post subject: | |
![]() Operands of " + " must be both interger or real, compatible sets, or both. there we go. |
Author: | codemage [ Wed Jan 18, 2006 12:07 pm ] |
Post subject: | |
Odd. I can't spot anything at a cursory glance. Can you try casting your expression into a temporary string variable and then give that variable (instead of the expression) to Font.Draw? |
Author: | ZeroPaladn [ Wed Jan 18, 2006 12:12 pm ] | ||
Post subject: | |||
i get the same error using this code...
|
Author: | ZeroPaladn [ Wed Jan 18, 2006 12:15 pm ] | ||||
Post subject: | |||||
sorry for double post, but i figured out the problem!!! original code
highscore is an INTERGER! you cant Font.Draw with those! revised code
sorry for both the caps and the double post. |