--- HU HUITING wrote:
> 
> i would really appreciate if anyone can tell 
> me what are the below errors, how to solve them.
> 
> 1)undefined identifier 'topLeft'
> WinDrawBitmap(GBitmapPtr, theGadgetBounds,
> topLeft.x, theGadgetBounds.topLeft.y);
> 
> 2)undefined identifier 'event'
> PenXCoord = event.P->screenX;
> 

...

Hu, 

Are you just learning how to program?

All of the errors you included are the SAME ERROR,
"undefined identifier".  That means you are using an
identifier that is not defined.

You have to declare any identifier that you want to
use in your program before you use it.  For example,

  // declare topLeft
  PointType topLeft;

  // use topLeft
  topLeft.x = 10;
  topLeft.y = 20;

If you don't declare topLeft, the compiler won't know
what type it is and it will complain when you try to
use it.


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.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