Automation Engine Script Guide > Ordered by Function > Read or Modify Objects > GET_OH_IDNR

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
Format: script literal or script variable

As of version 11 this script function has been changed, so that one parameter is available. Trying to define more than one parameter results in an error message.

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: