The type Database is a member of the class Type. Each object of class Database is called a database.
A database file is just like a hash table, except both the keys and values have to be strings.
i1 : filename = temporaryFileName () | ".dbm" |
i2 : x = openDatabaseOut filename |
i3 : x#"first" = "hi there" |
i4 : x#"first" |
i5 : x#"second" = "ho there" |
i6 : scanKeys(x,print) |
i7 : close x |
i8 : run ("rm -f " | filename) |
See also:
Functions and methods returning a a database :
Methods for using a database :