aboutsummaryrefslogtreecommitdiff
path: root/sys/clio/clglpd.x
blob: e9064790f8b52ee0fcdec0d3882a25a694c3935c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include	<syserr.h>

# 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