Arbortext Command Language > Functions by Alphabetical Listing > direction
  
direction
direction ([oid[, pos]])
This function returns 1 if the location indicated by oid and pos has a right-to-left directionality. It returns -1 if the location indicated by oid and pos has a left-to-right directionality.
If oid is omitted, the function uses oid_caret.
If pos is omitted, the function assumes 0.
If oid is invalid, the function returns 0.