2.7: TQGTPI

TOCGroup 1TQGTNMTQGTHIGroup 2A-ZGroup 1

GET-PROGRAM-ID

Use TQGTPI to get the ID of the program.

Added for ChemApp version 4.0.0

Synopsis

FORTRAN: CALL TQGTPI(NAME,NOERR)

C: tqgtpi(name,&noerr);

Pascal: tqgtpi(name,noerr);

Basic: Call tqgtpi(name,noerr)


Name Type Value set on call or returned
NAME CHARACTER Returns the program ID
NOERR INTEGER Returns an error number

TQGTPI returns the ID of the program. Every program that is able to read ChemSage transparent data-files is identified with a 4-letter mnemonic ID that is retrieved using TQGTPI. In case of a program that is linked against the full version of ChemApp, the program ID would be CAFU, if it is linked against ChemApp light instead, the program ID is CALI.

See also

TQGTID, TQGTNM

Examples

See TQGTID


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