From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/utilities/nttools/trebin/tnamcls.x | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkg/utilities/nttools/trebin/tnamcls.x (limited to 'pkg/utilities/nttools/trebin/tnamcls.x') 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 -- cgit