Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/karma/lib/ex.html
Дата изменения: Unknown Дата индексирования: Mon Dec 24 14:41:56 2007 Кодировка: Поисковые слова: word |
Library: karma
Link With: -lkarma
ex_int | Extract integer value from string. |
ex_uint | Extract unsigned integer value from string. |
ex_word | Extract word from string. |
ex_command | Extract command from string. |
ex_word_skip | Skip a word in a string. |
ex_float | Extract float value from string. |
ex_hour | Extract hour value from string. |
ex_command_skip | Skip a command in a string. |
ex_on | Extract boolean value from string. |
ex_on_or_off | Extract boolean value from string. |
ex_yes | Extract boolean value from string. |
ex_str | Extract sub-string from string. |
Extract integer value from string.
Parameters:
Extract unsigned integer value from string.
Parameters:
Extract word from string.
Parameters:
This routine will extract a command from a string. The operation is similar to ex_word except that any of " \t/=?!" terminate a command.
Parameters:
Skip a word in a string.
Parameters:
Extract float value from string.
Parameters:
Extract hour value from string.
Parameters:
This routine skip a command in a string. The operation is similar to ex_word_skip except that any of " \t/=?!" terminate a command.
Parameters:
This routine will extract a boolean value from string. The first command is skipped.
Parameters:
This routine will extract a boolean value from string.
Parameters:
This routine will extract a boolean value from string.
Parameters:
This routine will extract a sub-string from a string. The sub-string may be delimited by any number of whitespace characters. The double quote character may appear anywhere in the sub-string, and will force all whitespace characters except '\n' into the output string. A second double quote character unquotes the previous quote. These double quote characters are not copied, unless they are consecutive. If the string contains only two double quote characters, an empty string (i.e. only a '\0' character is present) is returned.
Parameters: