точно не знаю но вот есть цитата...
| Цитата |
: parser, generic parser, UNIX, ARGC, ARGV ----------------: -- -- Abstract : -- --| PARSER is a generic parser that functions in a manner similar to --| the ARGC/ARGV parser of UNIX. It contains one procedure, PARSE, --| which accepts a string as input and returns ARGC, a count of the number --| of tokens in the string, and ARGV, a vector of strings, each string --| containing a token. --| --| PARSER is instantiated with two strings (DEL for DELIMITER and --| DEL_TOKEN for DELIMITER_TOKEN). The DEL string is composed of characters --| which delimit each token (and are not a part of the token). All --| characters less than space are automatically delimiters, and the DEL --| string should contain at least one character (such as a space). --| DEL_TOKEN is a string composed of characters which delimit tokens and --| which are tokens themselves. If "=" is a DEL_TOKEN, for example, then --| "CAT= DOG" is composed of three tokens, "CAT", "=", and "DOG", where if --| "=" is a DEL, then "CAT= DOG" is composed of two tokens, "CAT" and "DOG". --| This assumes that the space character is a DEL. --| --| PARSER may also be instantiated with ARGC_LIMIT, which indicates the --| maximum number of tokens allowed. If this limit is exceeded, then the --| last ARGV token contains the remainder of the string. The default value --| of ARGC_LIMIT is 20. --| --| ARG_STRING_LENGTH is the last instantiation option for PARSER. It --| indicates the maximum length of an ARGV string, and it defaults to 80. --|
|
точно не знаю, тебя это интересует. |