## MERGE

PURPOSE:
To compile lines of program text from a file merging them into the current program.

    STATEMENT SYNTAX:
    MERGE (unit{,IND=expr}{,END=stno}{,TBL=stno}{,ERR=stno})

WHERE:
unit = a number designating the file which contains the program text.

    EXAMPLE:
    MERGE (1)

NOTES: The statements that are compiled by use of the MERGE command are:
1. Added to the current program if the statement did not previously exist.
2. Used to replace lines in the current program if the statement numbers match.
The MERGE operation is terminated:
1. Following the compiling of an END statement.
2. End of file is reached (error 2).
3. No line number is found in the record given to the compiler(error 21).
If the record given to the compiler contains a syntax error (error 20 if enter in console mode) the merge does not terminate. The compiler generates the machine code required to generate an error 20 if the statement is ever executed.
SEE:
LIST