aboutsummaryrefslogtreecommitdiff
path: root/sys/clio/clgetl.x
blob: 90a64d400330a201f57aca90b5ae5ac01d88cc34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# CLGETL -- Get a long integer parameter from the CL.

long procedure clgetl (param)

char	param[ARB]
double	dval, clgetd()

begin
	dval = clgetd (param)
	if (IS_INDEFD (dval))
	    return (INDEFL)
	else
	    return (long(dval))
end