Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqets(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQETS(3g)  —  Subroutines

Name

PQETS − Returns element type of specified element number. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
 

Syntax

PQETS (STRID, ELENUM, ERRIND, ELTYPE, IL, RL, SL)

 
Argument        Data Type       Access    Description
---------------------------------------------------------------------------
STRID           Integer         Read      Structure identifier
ELENUM          Integer         Read      Element number
ERRIND          Integer         Write     Error indicator
ELTYPE          Integer         Write     Element type
IL              Integer         Write     Dimension of integer array
RL              Integer         Write     Dimension of real array
SL              Integer         Write     Dimension of character array
---------------------------------------------------------------------------

For the list of possible element types, see Constants.

Description

PQETS queries the structure state list and returns the element type of the specified element number.  If the specified element number is 0, it returns an element type value of NIL.  If the element type has no data associated with it, the function returns a zero value for the dimension of the arrays. 

See Constants for a list of the element types.  See Element Data for information on the array sizes returned by this function. 

See Also

PELS
PQCECO
PQCETS
PQECO
PQEP

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026