[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.ERRDIF          Error If Strings Differ                  MASM Directive

  .ERRDIF   <string1>,<string2>

    Forces a fatal error if the two strings (which may be names, numbers,
    or expressions) do not match character for character (they are
    different).

       Notes:     The comparison is case-sensitive.

                  The angle brackets must be included and the 2 strings
                  must be separated by a comma.

                  The error message that may be generated by this
                  directive is 'Forced error - strings different', which
                  is error number 97.

                  If an error is generated, the object module is deleted
                  and the assembler exits with an exit code of 7.

                  This directive is often used to test parameters passed
                  to macro definitions.

 !Seealso:.ERRIDN IFIDN IFDIF

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson