GET_OH_IDNR
Script function: Supplies an object's internal number.
Syntax
GET_OH_IDNR (Object Name)
Syntax |
Description/Format |
---|---|
Object name |
Name of the object |
As of v11, you can only query an OH_IDNR from the same client. Trying to access a different client results in an error message in the message window, and returns an invalid OH_IDNR.
Return code |
---|
Object's internal number "0" - The object does not exist. |
Comments
Each object obtains an internal number when it is created.
Example
The following example supplies the internal number of the object "MM.DAY".
:SET &RET# = GET_OH_IDNR("MM.DAY")
See also:
Script Elements - Reading or Modifying Objects
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function