3.12: TQGNPC

TOCGroup 2TQINPCTQPCISGroup 3A-ZGroup 2

GET-NAME-OF-PHASE-CONSTITUENT

Use TQGNPC to get the name for a specified phase constituent.

Synopsis

FORTRAN: CALL TQGNPC(INDEXP,INDEXC,NAME,NOERR)

C: tqgnpc(indexp,indexc,name,&noerr);

Pascal: tqgnpc(indexp,indexc,name,noerr);

Basic: Call tqgnpc(indexp,indexc,name,noerr)


Name Type Value set on call or returned
INDEXP INTEGER Set to the index number for a phase
INDEXC INTEGER Set to the index number for a constituent
NAME CHARACTER Returns the constituent name
NOERR INTEGER Returns an error number

INDEXP and INDEXC are integer input. The output variable NAME cannot exceed 24 characters in length.

See also

TQNOPC, TQINPC, TQSTPC, TQPCIS, TQGDPC

Examples

See TQINPC


ChemApp Programmer's Manual, Edition 3.6© GTT-Technologies, 2003