--- [EMAIL PROTECTED] wrote:
> if(x<=111)
> {
> StrIToA(&xChar,x);

What is this xChar?  I get the terrible feeling that you have declared
it as:
  Char xChar;
That would be very bad because you are trying to put more than 1 char
at that address with the StrIToA().

> WinDrawChars(&xChar,StrLen(&xChar),113,35);
> }
> 
> But when x gets past "99",  it leaves an extra un needed digit.  

That makes no sense at all to me.  When x is greater than 99, it will
require at least 3 chars to represent it (100, 101, ..., 111).  So,
what do you mean by "it leaves an extra un needed digit"?

> I tried a few things like WinEraseChars but those methods 
> didn't work or atleast how I used them.  Any help would be 
> appreciated!  Thanks!

This line of code:
  WinDrawChars(string, StrLen(string), x, y);  // (1)
will draw a string at (x,y)

And this line of code:
  WinEraseChars(string, StrLen(string), x, y);  // (2)
will erase that string from (x,y) unless you have changed the contents
of the string in between the execution of (1) and (2).



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to