dbOpenBag
dbOpenBag(
g_ddObject
t_mode
)
=> g_bagId / nil
Description
Opens the library, cell, or view property bag in the given mode.
Arguments
|
g_ddObject
|
ddId of the library, cell, or view.
|
|
t_mode
|
Mode in which the property bag will be opened. The mode can be one of the following values:
-
r
Opens the property bag in read mode. The property bag must already exist. -
a
Opens the existing property bag in append mode. If the property bag does not exist, it is created. -
w
Opens the property bag in write mode. If the property bag does not exist, it is created. If the property bag already exists, its contents is truncated in virtual memory.
|
Value Returned
|
g_bagId
|
dbBagId object if the property bag opens successfully.
|
|
nil
|
It fails to open the property bag.
|
Examples
dbOpenBag(libId "a")
Related Topics
Soft Connect Terminal Functions
Return to top