Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmel(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DMEL(3g)  —  Subroutines

Name

DMEL − Moves an element within the open structure. 

Operating States: PHOP, ∗, STOP, ∗
Digital PHIGS extension function
Creates a structure element

Syntax

DMEL (ELEPOS)

Argument    Data Type       Access      Description
---------------------------------------------------------------------------
ELEPOS      Integer         Read        Element position
--------------------------------------------------------------------------

Description

DMEL moves the element at the specified element position within the open structure. 

Depending on the current edit mode, this function either inserts the moved 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 move structure element element. 

If the specified element position is the same as the position pointed at by the element pointer, Digital PHIGS does not change the element, regardless of the edit mode.  If the specified element position is greater than the total number of elements in the structure, Digital PHIGS uses the last element in the specified structure.  If the specified element position is less than 1, Digital PHIGS does not modify the open structure. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

Digital PHIGS Version 3.1 does not support this function.

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