TQGSP

This is a logical function.

Fortran

STATUS=TQGSP (INDEXP, STATUS, VAL, IWSG, IWSE)

C-interface

status=tq_gsp(TC_INT index,TC_STRING status,TC_STRING_LENGTH strlen_status,TC_FLOAT* amount,TC_INT* iwsg,TC_INT* iwse);

Full name:

Get Status of Phase.

Purpose:

This function is TRUE if the phase is ENTERED or FIXED. If the phase is SUSPENDED or DORMANT it is FALSE. The status is also returned in STATUS. The application program can test the status of a phase by calling this function.

Comments:

The legal values for STATUS are listed in Legal Phase Status. If the C-interface is used the value returned is of type: TC_BOOL.

Arguments

Name

Type

Value set on call or returned

INDEXP

Integer

Set to a phase index.

STATUS

Character*12

Return the current status code.

VAL

Double precision

Return the phase amount as mole formula units.

IWSG

Integer array

Workspace

IWSE

Integer array

Workspace