HELPLIB.HLB  —  RTL Routines, STR$  STR$MATCH_WILD
    The Match Wildcard Specification routine compares a pattern
    string that includes wildcard characters with a candidate string.

    Format

      STR$MATCH_WILD  candidate-string ,pattern-string

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

    Returns a condition value of STR$_MATCH if the strings match and
    STR$_NOMATCH if they do not match.

2  –  Arguments

 candidate-string

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    String that is compared to the pattern string. The candidate-
    string argument is the address of a descriptor pointing to the
    candidate string.

 pattern-string

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    String containing wildcard characters. The pattern-string
    argument is the address of a descriptor pointing to the pattern
    string. The wildcards in the pattern string are translated when
    STR$MATCH_WILD searches the candidate string to determine if it
    matches the pattern string.
Close Help