Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE PATHS TO DESCENDANTS

PQPDE


CALL SEQUENCE

CALL PQPDE (STRID, PTHORD, PTHDEP, IPTHSZ, N, ERRIND, OL, APTHSZ, PATHS).

INPUT PARAMETERS

INTEGER STRID
Structure identifier
INTEGER PTHORD
Path order (PPOTOP, PPOBOT)
INTEGER PTHDEP
Path depth
INTEGER IPTHSZ
Size of PATHS buffer
INTEGER N
Element of the list of paths

OUTPUT PARAMETERS

INTEGER ERRIND
Error indicator
INTEGER OL
Number of paths available
INTEGER APTHSZ
Actual size of the Nth structure path
INTEGER PATHS(2,IPTHSZ)
Nth structure path.

PHIGS STATE

(PHOP, *, *, *).

EFFECT

Returns the number of paths and the Nth path in the list of paths having structure STRID as an ancestor. Each path is a maximum path.

A maximum path for the descendants of a structure is a series of pairs ((S, E0), (D1, E1), (D2,E2),..., (DN, O)) where DN does not contain an EXECUTE STRUCTURE.

If PTHDEP = 0, the path is returned in its totality.

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)
201
Ignoring function, the specified structure does not exist
207
Ignoring function, the specified path depth is less than zero (0)

SEE ALSO

retrieve paths to descendants, inquire paths to ancestors.


Previous Next Up Title Contents Index Functions Index Top Library