Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

272 NEW Purpose To ‘remove’ a program from the computer’s memory. In fact the program is still there but the computer has been told to forget about it. If you want to, you can usually recover the old program by typing OLD . This only works if you have not entered any part of another program. NEW is normally used as a command before typing in a new program - to ensure that the computer has forgotten all its previous instructions. NEW does not clear any of the resident integer variables A% to Z% or @ %. Example NEW Description A command which resets internal pointers to ‘delete’ all program statements.

The program may be recovered with OLD provided no new statements have been entered and no new variables have been created. Since it is a command it cannot form part of a multiple statement line. Syntax NEW Associated keywords OLD