3.14: TQNOPC

TOCGroup 2TQPCISTQSTPCGroup 3A-ZGroup 2

GET-NUMBER-OF-PHASE-CONSTITUENTS

Use TQNOPC to get the total number of constituents in a specified phase.

Synopsis

FORTRAN: CALL TQNOPC(INDEXP,NPCON,NOERR)

C: tqnopc(indexp,&npcon,&noerr);

Pascal: tqnopc(indexp,npcon,noerr);

Basic: Call tqnopc(indexp,npcon,noerr)


Name Type Value set on call or returned
INDEXP INTEGER Set to the index number for a phase
NPCON INTEGER Returns the total number of constituents in a phase
NOERR INTEGER Returns an error number

NPCON is integer output normally used as upper limit in loops over all constituents of phase number INDEXP.

See also

TQINPC, TQGNPC, TQSTPC, TQPCIS, TQGDPC

Examples

See TQINPC


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