2.22: TQCLOS | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
TOC | Group 1 | TQOPNT | TQGTRH | Group 2 | A-Z | Group 1 |
Use TQCLOS to close a file that has been previously opened using TQOPNA, TQOPNB, TQOPNT, or TQOPEN.
FORTRAN: CALL TQCLOS(UNIT,NOERR)
C: tqclos(unit,&noerr)
;
Pascal: tqclos(unit,noerr)
;
Basic: Call tqclos(unit,noerr)
Name | Type | Value set on call or returned |
UNIT | CHARACTER | Set to the unit number under which the data-file was previously opened using TQOPEN |
NOERR | INTEGER | Returns an error number |
TQCLOS is used to make sure that a file previously opened with TQOPNA, TQOPNB, TQOPNT, or TQOPEN is closed correctly through its associated FORTRAN unit number.
FORTRAN programmers may use the standard CLOSE
statement instead of
TQCLOS, if ChemApp is used as a static library.
TQOPNA, TQOPNB, TQOPNT, TQOPEN
See TQRFIL
ChemApp Programmer's Manual, Edition 3.6 | © GTT-Technologies, 2003 |