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

INQUIRE LIST OF TEXT INDICES (PHOP,WSOP,*,*)

Purpose

Use Inquire List of Text Indices to inquire the list of defined text indexes existing on the workstation.

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 one of the following errors:

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
59
Specified Workstation Does Not Have Output Capability

Language Bindings

C

pinq_list_text_inds (ws_id, num_elems_appl_list, start_ind, err_ind, def_text_ind, num_elems_impl_list)

Input Parameters

Pint ws_id
Workstation identifier.

Pint num_elems_appl_list
Number of elements in the application list (>=0).

Pint start_ind
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pint_list *def_text_ind
List of defined text indexes.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQETXI (wkid, n, errind, ol, txi)

Input Parameters

integer wkid
Workstation identifier.

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer ol
Number of text bundle table entries.

integer txi
nth element in the list of defined text indexes.

Errors

None

Related Subroutines

  • Set Text Representation


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