Previous Next Up Title Contents Index Functions Index Top Library

EMPTY STRUCTURE

PEMPTY_STRUCT


CALL SEQUENCE

void pempty_struct(
)

PHIGS STATE

(PHOP, *, *, *).

EFFECT

EMPTY STRUCTURE destroys all elements in structure struct_id. Even when empty, the structure continues to exist and all the references made to it continue to exist.

If struct_id is the open structure, all its elements are destroyed and element pointer is set to zero. If struct_id does not designate any existing structure, then EMPTY STRUCTURE creates a new empty structure.

ERRORS

2
Ignoring function, function requires state (PHOP, *,*,*)

SEE ALSO

open structure, set element pointer, delete element, delete element range, delete element between labels


Previous Next Up Title Contents Index Functions Index Top Library