I have the companion and I'll read that topic.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Danny
Epstein
Sent: Tuesday, January 29, 2002 7:32 PM
To: Palm Developer Forum
Subject: RE: Beaming Data Bases


> I'm referring to a txt database as a
> file consisting of sequential records that have ASCII character strings.

In the old days, Palm OS just had what we called "databases". These aren't
the databases you learned about in school; they're just lists of records or
resources. They aren't files, but you can convert a prc/pdb/pqa file into a
Palm database or vice-versa. This is what the ExgDB routines do.

Nowadays there are two other file-like things: file streams and VFS files.
File streams are a special kind of database uses to store a single stream of
data. They're stored in the storage heap (in main memory) along with all the
other databases. VFS files are stored on expansion cards; SD/MMC,
MemoryStick, CF, etc. The term "card" is used for these, but don't be
confused by an earlier use of this term to refer to a RAM/ROM card
containing the OS ROM and main memory. A (cardNo, LocalID) pair is often
used to identify a database in main memory.

Applications are databases that conform to certain rules. Most applications
store their data in one or more additional databases. For example, you could
store your ASCII character strings in records in a database. In general,
when you run an application "from a card", it gets copied into main memory
automatically, and then deleted when you're done.

To learn more about databases, file streams, or VFS, see the Companion, a
two-volume PDF available from our website. Or you could come to
PalmSource...
--
Danny @ Palm

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/



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