Paul Sulistio wrote:
> 
> User userArr[3]={
>         {1,"Joe","palm1"},
>         {2,"Dan","palm2"},
>         {3,"Tim","palm3"}
> };
> 
> typedef struct{
>     Int16 userID;
>     const char *name;
>     const char *password;
> }User;
> 
> I got expression syntax error.

The typedef has to precede the array definition.

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