Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Current Line-Number Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   @Line
 
  See also: .ERR, ECHO
 
  Description:
 
     Predefined equate returning the current line number in the module.
     If in an include file, returns the line number relative to the
     include file. If in a macro, returns the line number relative to
     the beginning of the source file. Useful for showing the line
     number of a programmer-defined error.
 
  Example:
 
     IFNDEF   Country
              .ERR       <Country code expected at line @Line>
     ENDIF
                                    -♦-