Deleting Lines

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
Post Reply
MrVertigo
Posts: 105
Joined: Fri May 27, 2022 9:06 pm

Deleting Lines

Post by MrVertigo »

Is there any way to delete a bunch of lines at once from a ZX81 program, or is it just a case of entering line numbers one at a time?

And it possible to delete a whole program and keep my arrays? Or is that just entering line numbers one at a time too?
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Deleting Lines

Post by mrtinb »

You can delete one line at a time.

But there exist many "toolkits", that people used. Small machine code rutines that were loaded above RAMTOP, that could delete more lines.

With "Toolkit", you could delete lines with RAND USR 31155, and you could renumber lines with RAND USR 30524.

With "ZXTK", two lines of machine code was added to your program, and with RAND USR MON, you got a menu, where you could delete lines or renumber your program.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
MrVertigo
Posts: 105
Joined: Fri May 27, 2022 9:06 pm

Re: Deleting Lines

Post by MrVertigo »

Thank you!
Post Reply