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 --- noao/digiphot/ptools/tbselect.cl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 noao/digiphot/ptools/tbselect.cl (limited to 'noao/digiphot/ptools/tbselect.cl') diff --git a/noao/digiphot/ptools/tbselect.cl b/noao/digiphot/ptools/tbselect.cl new file mode 100644 index 00000000..2ba294f8 --- /dev/null +++ b/noao/digiphot/ptools/tbselect.cl @@ -0,0 +1,20 @@ +# TBSELECT -- Select records from an APPHOT/DAOPHOT STSDAS table based +# on the value of an expression. + +procedure tbselect (intable, outtable, expr) + +file intable {"", prompt = "Input apphot/daophot tables database(s)"} +file outtable {"", prompt = "Output apphot/daophot tables database(s)"} +string expr {"", prompt = "Boolean expression for record selection"} + +begin + # Declare the local variables. + string tintable, touttable, texpr + + # Get the positional parameters. + tintable = intable + touttable = outtable + texpr = expr + + tselect (tintable, touttable, texpr) +end -- cgit