Arbortext Command Language > Functions by Alphabetical Listing > oid_offset
  
oid_offset
oid_offset (oid, pos1, oid2, pos2)
This function returns the character offset between the two document locations specified by oid1,pos1 and oid2,pos2 respectively. Each non-text object (that is, markup, equations, graphics) counts as one character. The offset returned will be negative if the location specified by oid2,pos2 comes before the position specified by oid1,pos1.
Related Topics
Object identifier (OID) functions