aserrorfile

Name

aserrorfile --  creates a copy of the source file with error messages added

Syntax

classdefaultfunctionsyntaxminimal syntax
invocation line only enable /aserrorfile[=filename] /a[=filename]
*disable /noaserrorfile /noa

Description

This control causes the program to create a source error file. This file contains all the lines that are in the source program plus error messages for those lines containing errors. You can then edit this file and quickly fix the errors, as both the source statements and errors are combined. Normally, the user then runs this file through the assembler using the remove control with ASERRORFILE enabled again. An error-free source file can then be created. The class is invocation line only. The default is NOASERRORFILE. If filename is not specified, the source file name is used with the default extension of .ase.

Note: The generated error lines start with ;!*** if the line in error is found in the source file. (The source file is the last input file specified on the invocation line.) The error lines start with ;!+++ if the line is not in the source file (e.g., in include file or part of macro expansion); the line in error is also shown preceded by ;!+++.

errorfile is used to generate a file containing only errors.

Example

From this command line asmcop will generate sample1.ase.

	C:\COP8\NSASM\EXAMPLES>asmcop.exe sample1.asm /A
	

From this command line asmcop will generate main.ase.

	C:\COP8\NSASM\EXAMPLES>asmcop.exe /ASE=main.new