TQGSCI
Fortran |
TQGSCI(INDEXC, NAME, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_gsci(TC_INT* index,TC_STRING component,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Get System Component Index. |
|
Purpose: |
Get index of a system component. |
|
Comments: |
This is a way to translate from a name to an index. In order to translate from a component index to a name, use TQGCOM. The application program may call TQGCOM only once and maintain itself a list of component names stored by indices. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
INDEXC |
Integer |
Return the index of the component. |
NAMES |
Character*24 |
Set to a component name. |
IWSG |
Integer array |
Workspace |
IWSE |
Integer array |
Workspace |

Note the following conventions to distinguish between the programming languages.
- Routines starting with TQXXX, for example, TQGDAT, are in the Fortran interface
- Routines starting with tq_xxxx, for example tq_gdat, are in the C-interface.
- In Fortran, all routines are subroutines and do not return any values except where explicitly declared as functions.
- All the C procedures are declared as void and do not return any values except where explicitly otherwise declared.
An example of how to read the subroutine definitions.