diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/utilities/nttools/trebin/tnamcls.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/utilities/nttools/trebin/tnamcls.x')
-rw-r--r-- | pkg/utilities/nttools/trebin/tnamcls.x | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/utilities/nttools/trebin/tnamcls.x b/pkg/utilities/nttools/trebin/tnamcls.x new file mode 100644 index 00000000..80ded94f --- /dev/null +++ b/pkg/utilities/nttools/trebin/tnamcls.x @@ -0,0 +1,24 @@ +# tnam_cls -- close input & output fnt +# Close the file name templates. +# +# Phil Hodge, 15-Apr-1988 Subroutine created. +# Phil Hodge, 4-Oct-1995 Modify to use tbn instead of fnt. +# Phil Hodge, 25-Apr-2000 Add xin_t to calling sequence, and remove dir_only. + +procedure tnam_cls (in_t, xin_t, out_t) + +pointer in_t # io: fnt pointer for input tables +pointer xin_t # io: fnt pointer for tables of output indep var +pointer out_t # io: fnt pointer for output tables +#-- + +begin + if (in_t != NULL) + call tbnclose (in_t) + + if (xin_t != NULL) + call tbnclose (xin_t) + + if (out_t != NULL) + call tbnclose (out_t) +end |