[comp.sys.mac.programmer] THINK C ERROR MESSAGE

Richard.Diaz@f444.n161.z1.FIDONET.ORG (Richard Diaz) (03/27/91)

WindowInit()
{
  gHelloWindow=GetNewWindow( BASE_RES_ID,
          NIL_POINTER, MOVE_TO_FRONT );
  ShowWindow (gHelloWindow );
  SetPort (gHelloWindow );
  MoveTo (HORIZONTAL_PIXEL, VERTICAL_PIXEL );
  DrawString("\pHello, World");
}
I type in the sample program from Macintosh Programming PRIMER Volume I and 
try to run this program. At line-8 
"DrawString("/pHello, World");", I have an error message which said "illegal 
instruction" when I run the program.
Could someone tell me what wrong with it? I believe there is no typing 
error. 
Thanks
  From : Richard Diaz

--  
Richard Diaz - via FidoNet node 1:125/777
    UUCP: ...!uunet!hoptoad!fidogate!161!444!Richard.Diaz
INTERNET: Richard.Diaz@f444.n161.z1.FIDONET.ORG