Persistent data?

Jeanne A. E. DeVoto jeanne at
Thu Jan 31 02:53:36 EST 2002

At 1:17 PM -0800 1/30/2002, Gary Robinson wrote:
>Hi, I'm interested in Revolution, but am wondering if anyone can tell me
>what kind of mechanisms there are for persistent data other than ODBC.
>Suppose I have an application that doesn't require a heavy-duty relational
>database, it just wants to store some data on the local disk.
>How would that be done? Is there any way of storing objects and looking them
>up with an index, as Python has with its shelf library? Or is there some
>other way of interfacing to a dbm library such as gdbm?

If your database needs are simple enough, you can use a stack as a
flat-file database (where each card is a record), using the find, sort, and
mark commands to handle selection, searching, and sorting tasks. You can
also store data in external files and pull their information in as needed,
and store media such as images in external files that can be referenced
from within a stack.

Jeanne A. E. DeVoto ~ jeanne at
Runtime Revolution Limited - Power to the Developer!

More information about the use-livecode mailing list