DBG$HELP.HLB  —  DEBUG  SEARCH  Parameters
 range

    Specifies a program region to be searched. Use any of the
    following formats:

    mod-name            Searches the specified module from line 0 to
                        the end of the module.
    mod-name\line-num   Searches the specified module from the
                        specified line number to the end of the
                        module.
    mod-name\line-      Searches the specified module from the line
    num:line-num        number specified on the left of the colon to
                        the line number specified on the right.
    line-num            Uses the current scope to find a module and
                        searches that module from the specified line
                        number to the end of the module. The current
                        scope is established by a previous SET SCOPE
                        command, or the PC scope if you did not enter
                        a SET SCOPE command. If you specify a scope
                        search list with the SET SCOPE command, the
                        debugger searches only the module associated
                        with the first named scope.
    line-num:line-num   Uses the current scope to find a module and
                        searches that module from the line number
                        specified on the left of the colon to the
                        line number specified on the right. The
                        current scope is established by a previous
                        SET SCOPE command, or the PC scope if you
                        did not enter a SET SCOPE command. If you
                        specify a scope search list with the SET
                        SCOPE command, the debugger searches only the
                        module associated with the first named scope.
    null (no entry)     Searches the same module as that from which
                        a source line was most recently displayed
                        (as a result of a TYPE, EXAMINE/SOURCE,
                        or SEARCH command, for example), beginning
                        at the first line following the line most
                        recently displayed and continuing to the end
                        of the module.

 string

    Specifies the source code characters for which to search. If you
    do not specify a string, the string specified in the last SEARCH
    command, if any, is used.

    You must enclose the string in quotation marks (")  or
    apostrophes (') under the following conditions:

    o  The string has any leading or ending space or tab characters

    o  The string contains an embedded semicolon

    o  The range parameter is null

    If the string is enclosed in quotation marks, use two consecutive
    quotation marks ("") to indicate an enclosed quotation mark.
    If the string is enclosed in apostrophes, use two consecutive
    apostrophes ('') to indicate an enclosed apostrophe.
Close Help