CL_NUMBER - get an integer from a parsed command line.

Usage:

#include <cl.h>
val = cl_number(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;
tells the table entry whose value you want to obtain.
long val;
is the integer value associated with that table entry. For example, it might be an integer value specified with Keyword=integer.

Description:

The "cl_number" macro returns an integer associated with an argument or option in a parsed command line.

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
parsing command lines.

Copyright © 1996, Thinkage Ltd.