Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>.erridn error if strings are identical masm directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.ERRIDN          Error If Strings Are Identical                MASM Directive

  .ERRIDN   <string1>,<string2>

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

       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 identical', which
                  is error number 96.

                  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.

See Also: .ERRDIF IFIDN IFDIF

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson