in BASIC ROM:
|List of all BASIC keywords
Typ: Command General Programming-Syntax: NEW
NEW can be used in programs, but after executing NEW, the program ends by being deleted. That is, using the BASIC command NEW in programs does not usually make much sense.
The command NEW should be used before writing a new BASIC program, because old program code can conflict with the new BASIC code and complicate debugging.
The NEW instruction will also reset the variable memory pointer, which makes it handy after modifying the start and end address of BASIC RAM. You will constantly be bugged with ?OUT OF MEMORY ERROR messages if the variable memory pointer is not set correctly, pointing outside the BASIC RAM. If this is the case, you may want to issue a NEW command and then start coding.