DgInqElePtr(3D)

NAME
DgInqElePtr - Return the location of the group element pointer of the current group

SYNOPSIS
C:
DtInt DgInqElePtr()

FORTRAN:
INTEGER*4 DGQEP()

DESCRIPTION
DgInqElePtr returns the current location of the group element pointer of the currently open group.

Each group has an element pointer that identifies the current editing position within the group. The element pointer points between elements of a group. A value of 0 indicates that the element pointer is pointing before the first element in the group, and a value of n (where n is the current size of the group) indicates that the element pointer is pointing after the last element in the group.

ERRORS
DgInqElePtr will fail if no group is currently open; the value -1 is returned.

[WARNING - a group is not currently open]

SEE ALSO
DgSetElePtr(3D), DgSetElePtrRelLabel(3D)