table.sureDatabaseOpen
| Syntax |
table.sureDatabaseOpen (adr)
|
| Params |
adr is the address of some object.
|
| Action |
Make sure the database containing the object is open.
|
| Returns |
True if the database containing the object is open, or the address of the top-level window of the database if it was newly-opened.
|
| Examples |
table.sureDatabaseOpen (@suites) //it's in Frontier.root which is always open (usually) » true
table.sureDatabaseOpen (@["C:\\Palm Springs\\Websites\\davenet.root"].["97"].["05"].Programmers) //opens the guest database
table.sureDatabaseOpen (@["C:\\doesNotExist.root"].x.y.z) //an error (probably) |
| Errors |
If the address points to an object supposedly contained in a guest database and the guest database does not exist, an error message is generated.
|
| Notes |
This verb is implemented as a script.
|