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

GPEPLB - Set Element Pointer at Label

GPEPLB (label)

Purpose

Use GPEPLB to set the element pointer to the specified label element within the open structure.

Starting at the position following the element pointer, the graPHIGS API searches for the first occurrence of the specified label If the end of the structure is reached, the system continues the search at element 1. If the specified label is not found, an error is generated.

Note: This subroutine is not processed by the nucleus right away. It is processed by the nucleus when the next subroutine call is issued that forces requests to be sent to the nucleus. See "Controlling the System" section in the The graPHIGS Programming Interface: Understanding Concepts for a discussion on when requests are sent to the nucleus for processing.

Parameters

label -- specified by user, fullword integer

Label identifier.

Error Codes

4
FUNCTION REQUIRES STATE STOP
130
LABEL IDENTIFIER CANNOT BE FOUND IN THE OPEN STRUCTURE

Related Subroutines

GPEPLG
Generalized Set Element Pointer at Label
GPINLB
Insert Label

RCP code

201332227 (X'0C001603')


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