aboutsummaryrefslogtreecommitdiff
path: root/sys/imfort/doc/clnarg.hlp
blob: c73219315d495781ed67612bbb3ed357389f97e9 (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
.help clnarg Sep86 imfort
.ih
NAME
clnarg -- get the number of arguments on the command line
.ih
SYNOPSIS
.nf
subroutine clnarg (nargs)

integer		nargs		#O the number of arguments
.fi
.ih
DESCRIPTION
The \fIclnarg\fR subroutine returns the number of whitespace delimited
(or quoted) arguments given on the command line when the calling program
was invoked.
.ih
RETURN VALUE
The number of arguments, or zero if there were no arguments or if the
command line cannot be accessed for some reason (there is no error return).
.ih
SEE ALSO
clarg, clrawc
.endhelp