PAP(3g) — Subroutines
Name
PAP − Creates a structure element that specifies the application data to be inserted into the open structure.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
PAP (LDR, DATREC)
Argument Data Type Access Description
---------------------------------------------------------------------------
LDR Integer Read Size of the application data
record, in bytes
DATREC(LDR) Character ∗80 Read Application data record
---------------------------------------------------------------------------
Description
PAP creates a structure element that specifies the application data to be inserted into the open structure.
Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new application data element.
The PAP function inserts application-specific data into the open structure. Because application data is used exclusively by the application program, the data is ignored during structure traversal.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
PELS
PQCECO
PQCETS
PQECO
PQETS