AutoGen: SCM match-value?

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 3.4.21 ``match-value?'` - test for matching value

Usage: (match-value? op ag-name test-str)
This function answers the question, "Is there an AutoGen value named `ag-name` with a value that matches the pattern `test-str` using the match function `op`?" Return SCM_BOOL_T iff at least one occurrence of the specified name has such a value. The operator can be any function that takes two string arguments and yields a boolean. It is expected that you will use one of the string matching functions provided by AutoGen.
The value name must follow the same rules as the `ag-name` argument for `exist?` (see section 3.4.8 ``exist?'` - test for value name).

Arguments:
op - boolean result operator
ag-name - name of AutoGen value
test-str - string to test against

This document was generated by Bruce Korb on February 23, 2004 using texi2html