db.getValue
| Syntax |
db.getValue (f, path)
|
| Params |
f is a filespec or path string of a Frontier object database file that has been opened with db.open. path is a valid UserTalk address string, indicating the location in the database that contains information that you wish to retrieve.
|
| Action |
Retrieves the value of the item whose path is supplied and returns it.
|
| Returns |
The value of something stored in a Frontier object database.
|
| Examples |
db.getValue ("System:Frontier:old.root", "examples.age") » 38
db.getValue ("System:Frontier:old.root", "examples.haircolor")
db.getValue ("System:Frontier:old.root", "user.dmb.notepad")
|
| Notes |
The database file specified in the parameter "f" must be opened using db.open before calling this verb. db.getValue can retrieve non-scalar values like tables and outlines. path can be a full or partial database address; the paths table of the target database is used to interpret it. x = db.getValue (f, path) is equivalent to x = path^ when referring to Frontier's current object database.
|
| See Also |
db.open
|