--- Joe Programmer <[EMAIL PROTECTED]> wrote: > --- SU DUY TRINH wrote: > > I face with a case:How can I save the > > value of a variable in fisrt form and > > then use the value in second form that > > the value of the variable doesn't > > change?ONLY on Code Warrior for Palm > > hand-held. > > If you declare a global variable, then you can set > its > value while in one form and retrieve its value in a > second form, as long as you don't quit your app. > The > value won't change unless you do something to change > it. SO, how are you declaring the variable? Is the > code for handling both forms in a single file, or in > two? Show some code. > > > The second question that I want to ask > > about database:I don't know the structure > > for database DataViewer(such as: > > tc_standford.pdb,...) of Town Compass > > Neither do I. You'll have to ask the people who > make > Town Compass. I also ask them about the case,they said that:they use the internal process to create some PDB database files.Do you have any idea about saving for the databases?(for examples:the structure for them,can they save in "struct nested in struct"?),I think that:they are saved in hierachy model(tree,...). Thanks in advancve any responses, Trinh
> > > How are the structure of the PDB databases?. > > It is different for every database. A "database" on > a > Palm OS device is just a series of records, where > each > record can contain up to 64KB (minus a few bytes) of > whatever you want to put there. A record can be a > different size than other records and can contain > very > different data than the other records. The OS > doesn't > impose any logical structure on the database. There > are no "fields" like most people imagine in a > relational database, unless the application's > programmer wants to think of it that way. > > > __________________________________________________ > 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/ __________________________________________________ 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/
