> From: Jim Garozzo

> Yeah..i thought that too..but when i compile
> 
> Line 49:        StrCopy(tempdata, no);
> Line 50:   else if (SysAlarms == 1)
> 
> I get a parse error for this line.

Your originally posted code contains additional errors!

You posted:

>  if (SysAlarms == 0)
>       size = 9;
>       StrCopy(&tempdata, &no);            <--  Line 45
>  else if (SysAlarms == 1)
>       size = 8;
>  else
>       size = 9;

And this should be:

  if (SysAlarms == 0)
  {
       size = 9;
       StrCopy(tempdata, no);
  }
  else
    if (SysAlarms == 1)
       size = 8;
    else
       size = 9;

Some people would add even more {}'s.



-- 
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