"Andy Black" <[EMAIL PROTECTED]> wrote in message
news:57834@palm-dev-forum...
>
>
> >>
> >
> > If  InitDrugs is defined in another file then the statically scoped
variable
> > will be invisible. Static variables/procedures are only visible in their
own
> > files.
> >
> > Peter
> >
>
> It is defined in the same source code file. But that is not where it is
> failing. I can't get the database to be created with that code.
>
> Andy

The code look completely standard except that you call  InitDrgs() from
within the procedure that (is supposed to have) created the database. What
happens if you return from the AppStart call before calling the InitDrgs()?
No, I don't see why that should matter either ...

Peter



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