[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

INQUIRE ELEMENT POINTER (PHOP,*,STOP,*)

Purpose

Use Inquire Element Pointer to inquire the value of the current element pointer in the structure store.

A structure must be open to invoke this subroutine.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameter. If the information is unavailable, then the value returned in the output parameter is unpredictable and the graPHIGS API sets the error indicator to the following error:

5
Function Requires State (PHOP,*,STOP,*)

Language Bindings

C

pinq_elem_ptr (err_ind, elem_ptr_value)

Output Parameters

Pint *err_ind
Error indicator.

Pint *elem_ptr_value
Element pointer value.

FORTRAN

PQEP (errind, ep)

Output Parameters

integer errind
Error indicator.

integer ep
Element pointer value.

Errors

None

Related Subroutines

  • None


  • [ Previous | Next | Contents | Glossary | Home | Search ]