TQGSU
Fortran |
TQGSU(QUANT, UNIT, IWSG, IWSE) |
|
---|---|---|
C-interface |
tq_gsu(TC_STRING quant,TC_STRING unit,TC_STRING_LENGTH strlen_unit,TC_INT* iwsg,TC_INT* iwse); |
|
Full name: |
Get System Unit. |
|
Purpose: |
To find what units the TQ-Interface is currently using for a system quantity. |
|
Comments: |
The legal quantities and units are listed in Units for TQSSU and TQGSU. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
QUANT |
Character*60 |
Set to a legal quantit. |
UNIT |
Character*60 |
Return the current unit. |
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.