blob: f60b58c918a51041d95cb698963663f0d744f3c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# CLGLSTR -- Get a list structured string parameter from the CL.
int procedure clglstr (param, outstr, maxch)
char param[ARB], outstr[maxch]
int maxch
int clscan(), nscan(), strlen()
begin
if (clscan (param) == EOF)
return (EOF)
else {
call gargstr (outstr, maxch)
if (nscan() != 1)
outstr[1] = EOS
}
return (strlen (outstr))
end
|