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>.errndef error if name is not defined masm directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.ERRNDEF         Error If Name Is Not Defined                  MASM Directive

  .ERRNDEF  name

    Forces a fatal error if name is not defined.

       Notes:     If the name is defined as a forward reference, it is
                  considered undefined on the first pass, but defined on
                  the second.

                  The error message that may be generated by this
                  directive is 'Forced error - symbol not defined', which
                  is error number 92.

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

See Also: .ERRDEF IFDEF IFNDEF

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