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

GPDELB - Delete Element Between Labels

GPDELB (label1, label2)

Purpose

Use GPDELB to delete all elements from the open structure between, but not including, the two specified labels. After deletion, the element pointer moves to the element specified by the label identifier 1 (label1)

Starting from the current position of the element pointer, the system searches for label identifier 1. When the end of the structure is reached, the search continues at element number 1. Beginning with the original position of the element pointer, the system then searches for label identifier 2. When the end of the structure is reached, the system continues the search at element number 1. If the system cannot locate either label, then the graPHIGS API issues an error.

Parameters

label1 -- specified by user, fullword integer

Label identifier 1.

label2 -- specified by user, fullword integer

Label identifier 2.

Error Codes

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

Related Subroutines

GPINLB
Insert Label

RCP code

201338370 (X'0C002E02')


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