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

INQUIRE EDIT MODE (PHOP,*,*,*)

Purpose

Use Inquire Edit Mode to inquire the current edit mode. The edit mode is either INSERT or REPLACE.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to the following error:

2
Function Requires State (PHOP,*,*,*)

Language Bindings

C

pinq_edit_mode (err_ind, edit_mode)

Output Parameters

Pint *err_ind
Error indicator.

Pedit_mode *edit_mode
Edit mode (0=PEDIT_INSERT, 1=PEDIT_REPLACE).

FORTRAN

PQEDM (errind, editmo)

Output Parameters

integer errind
Error indicator.

integer editmo
Edit mode (0=PINSRT, 1=PREPLC).

Errors

None

Related Subroutines

  • Set Edit Mode


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