blob: 313e630b6b1982aa24cf2166b7a77fc3b031061b (
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
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <syserr.h>
# CLGLPB -- Get a list structured boolean parameter from the CL.
int procedure clglpb (param, bval)
char param[ARB]
bool bval
int clscan(), nscan()
begin
if (clscan (param) == EOF)
return (EOF)
else {
call gargb (bval)
if (nscan() != 1)
call syserrs (SYS_CLNOTBOOL, param)
}
return (1)
end
|