Use TQOPNB to open a binary thermochemical data-file for reading by ChemApp.
Added for ChemApp version 3.3.0
|Name||Type|| Value set on call or returned
|NAME||CHARACTER|| Set to the filename of the binary data-file to open
|UNIT||CHARACTER|| Set to the unit number under which it should be opened
|NOERR||INTEGER|| Returns an error number
Use TQOPNB to open a thermochemical data-file in binary format for reading. If you are using ChemApp V3.3.0 or above, it is recommended that you use TQOPNB instead of TQOPEN. The advantage of TQOPNB over TQOPEN is that TQOPNB only opens the data-file if it already exists, otherwise it reports error no. 107.
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 TQOPNB should subsequently be closed only with TQCLOS.
FORTRAN programmers may use the standard
OPEN statement instead of
TQOPNB, if ChemApp is used as a static library.
TQOPNB cannot be used to open ASCII thermochemical data-files. For this purpose, use TQOPNA instead.
Please see also chapter 1.11 for details and differences of thermochemical data-files formats.
TQOPNA, TQOPNT, TQCLOS, TQRBIN, TQOPEN, Chapter 1.11
|ChemApp Programmer's Manual, Edition 3.6||© GTT-Technologies, 2003|