CL_BOOLEAN - get a boolean option from a parsed command line.

Usage:

#include <cl.h>
setting = cl_boolean(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 setting;
is 0 if the option is off (-Keyword) and 1 if the option is on (+Keyword).

Description:

The "cl_boolean" macro determines whether a boolean option is off or on.

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.