.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
See also: IFDEF
See also: IFNDEF

.ERRNDEF Error If Name Is Not Defined