| NEW Command | Reference/Commodore BASIC V3.5
NEW
This command erases the entire program in memory and removes any variables used. WARNING: Be careful when using this command.
NEW can be used within BASIC programs. When executed within a program, the program is erased and program execution stops.
The following BASIC line places two zeroes to the BASIC start address (pointed to by $2B/$2C). As long as no further BASIC lines are typed, and no variables are changed, the NEW command is reversible:
POKE PEEK ( DEC("2B") ) + PEEK ( DEC("2C") ) * 256, 1 : RENUMBER
None |
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |