TQSIO
Fortran |
TQSIO(OPTION, IVAL) |
|
---|---|---|
C-interface |
tq_sio(TC_STRING option,TC_INT ival); |
|
Full name: |
Set Input/Output Option. |
|
Purpose: |
With this subroutine the application program can re-direct input and output from the Thermo‑Calc package. |
|
Comments: |
OPTION is a character identifying the Input/Output option. The current internal value is set to the value in IVAL. If the value is illegal the error condition is set. |
|
Arguments |
||
Name |
Type |
Value set on call or returned |
OPTION |
Character*8 |
Set to a value given in Legal Input/Output Options for TQSIO and TQGIO |
IVAL |
Integer |
Set to an internal value. |

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.