CL_ARGC - get number of argument/option values.
Usage:
#include <cl.h>
listsize = cl_argc(cl,index); /* MACRO */
Where:
- CL_PARSED *cl;
- points to a parsed command line structure, as returned by
"cl_cparse" or a related routine.
- int index;
- indicates a table entry which has an associated list of
values.
- int listsize;
- tells how many values are associated with that table
entry.
Description:
The "cl_argc" macro tells how many values are
associated with a table entry that can have multiple values.
See Also:
- expl c internal parser
- for an overview of the parser routines.
- expl c internal parser macros
- for macros used in creating an Options Table.
- expl c internal parser cl_cparse
- for parsing command lines.
- expl c internal parser cl_argv
- for getting a list of values associated with a table
entry.
Copyright © 1996, Thinkage Ltd.