2.21: TQOPNT

TOCGroup 1TQOPNBTQCLOSGroup 2A-ZGroup 1

OPEN-TRANSPARENT-DATA-FILE

Use TQOPNT to open a transparent thermochemical data-file for reading by ChemApp.

Added for ChemApp version 4.0.0

Synopsis

FORTRAN: CALL TQOPNT(NAME,UNIT,NOERR)

C: tqopnt(name,unit,&noerr);

Pascal: tqopnt(name,unit,noerr);

Basic: Call tqopnt(name,unit,noerr)


Name Type Value set on call or returned
NAME CHARACTER Set to the filename of the transparent data-file to open
UNIT CHARACTER Set to the unit number under which it should be opened
NOERR INTEGER Returns an error number

Use TQOPNT to open a thermochemical data-file in transparent format for reading.

The unit number under which the data-file needs to be opened should normally be determined in advance using a call to TQGIO with the option 'FILE'.

A file that has been opened using TQOPNT should subsequently be closed only with TQCLOS.

FORTRAN programmers may use the standard OPEN statement instead of TQOPNT, if ChemApp is used as a static library. This is not recommended though, because the specifiers needed in calls to OPEN when opening transparent data-files are compiler-dependent.

TQOPNT cannot be used to open ASCII or binary thermochemical data-files. For this purpose, use TQOPNA/TQOPNB instead.

Please see also chapter 1.11 for details and differences of thermochemical data-files formats.

See also

TQRCST, TQGTRH, TQCLOS, TQOPNA, TQOPNB, Chapter 1.11

Examples

See TQRCST


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