CL_STRING - get a string from a parsed command line.
Usage:
#include <cl.h>
str = cl_string(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.
- char *str;
- is the string value associated with that table entry. For
example, it might be the actual value of an unflagged
argument, or a string value specified with
Keyword=string.
Description:
The "cl_string" macro returns a string 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.