HELPLIB.HLB  —  RTL Routines, LIB$  LIB$SKPC
    The Skip Equal Characters routine compares each character of a
    given string with a given character and returns the relative
    position of the first nonequal character as an index. LIB$SKPC
    makes the VAX SKPC instruction available as a callable routine.

    Format

      LIB$SKPC  character-string ,source-string

1  –  Returns

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

    The relative position in the source string of the first unequal
    character. LIB$SKPC returns a zero if the source string was of
    zero length or if every character in source-string was equal to
    character-string.

2  –  Arguments

 character-string

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

    String whose initial character is to be used by LIB$SKPC in the
    comparison. The character-string argument contains the address of
    a descriptor pointing to this string. Only the first character of
    character-string is used, and the length of character-string is
    not checked.

 source-string

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

    String to be searched by LIB$SKPC. The source-string argument
    contains the address of a descriptor pointing to this string.
Close Help