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 --- sys/clio/clglpd.x | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys/clio/clglpd.x (limited to 'sys/clio/clglpd.x') diff --git a/sys/clio/clglpd.x b/sys/clio/clglpd.x new file mode 100644 index 00000000..e9064790 --- /dev/null +++ b/sys/clio/clglpd.x @@ -0,0 +1,24 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include + +# CLGLPD -- Get a list structured double precision floating parameter from +# the CL. + +int procedure clglpd (param, dval) + +char param[ARB] +double dval +int clscan(), nscan() + +begin + if (clscan (param) == EOF) + return (EOF) + else { + call gargd (dval) + if (nscan() != 1) + call syserrs (SYS_CLNOTNUM, param) + } + + return (1) +end -- cgit