Arbortext Command Language > Functions by Alphabetical Listing > oid_encl_include
  
oid_encl_include
oid_encl_include (oid[, pos])
This function returns the oid of the of the nearest enclosing included object to the location specified by oid and pos, regardless of whether or not the object is expanded. If the specified oid is not in an included object, this function returns a null string.
pos can be any of the following values:
0 — (The default.) pos is immediately after the start tag identified by oid.
-1pos is immediately before the end tag of the element identified by oid.
-2pos is immediately before the start tag.
-3 — If oid is a start tag, pos is immediately after the end tag. Otherwise, pos is at the end of the object.