DBREF Object
- Last UpdatedMar 24, 2023
- 1 minute read
Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Dbref( STRING ) |
DBREF |
Creates a DBREF object with value set to the given STRING. |
|
Dbref( STRING, FORMAT ) |
DBREF |
As above, FORMAT argument required for consistency by Forms and Menus. |
|
Attribute(STRING Name) |
ANY |
Returns the value of the named attribute. |
|
Attributes() |
ARRAY OF STRING |
A DBREF appears to have the attributes of whatever DB elements it is pointing to. |
|
BadRef() |
BOOLEAN |
TRUE if DBREF is not valid (cannot navigate to it). |
|
Delete() |
NO RESULT |
Deletes the PML DBREF (not the database element it is pointing to). |
|
MCount() |
REAL |
Count of number of members of element referenced. |
|
MCount(STRING type) |
REAL |
Count of number of members of element referenced of type specified. |
|
String(FORMAT) |
STRING |
Convert to STRING using settings in Global FORMAT object. |
|
Line([CUT/UNCUT]) |
LINE |
Returns the cut/uncut pline of a SCTN/GENSEC element as a bounded line. |
|
PPosition(REAL) |
POSITION |
Returns the position of the specified ppoint of a database element. |
|
PDirection(REAL) |
DIRECTION |
Returns the direction of the specified ppoint of a database element. |