A five-line BASIC loader that POKEs 21 bytes of machine code, written as decimal triplets in a string, into the printer buffer at 16444 and runs it. The code deletes the BASIC program from the current line (the cursor line) to the end of the program, the loader included, using the ROM’s own routines.
Load it before, or merge it after, the program to be cut; set the cursor on the first line to delete (LIST that line) and enter GOTO 100. Everything from that line to the end goes. Check line 100 carefully: the string must be 63 digits with no blanks.
Published in the BCS Sinclair-Timex User Group Newsletter January 1984 (A Basic Eraser).
Source Code
100 LET X$="205231002042010064205216009235042012064205093010205007002207255"
110 FOR I=0 TO 20
120 POKE 16444+I, VAL X$(3*I+1 TO 3*(I+1))
130 NEXT I
140 RAND USR 16444Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

