Page 1 of 1

delete a block of lines

Posted: Wed Aug 20, 2025 3:34 pm
by AndyRed64
Is there a command to delete a block of lines from the loaded program?

Re: delete a block of lines

Posted: Wed Aug 20, 2025 4:32 pm
by swensont
To delete line 100, just type "100" and hit enter. It will blank out that line. To do a large block, just save the program, open it with a text editor and delete the lines there.

Tim

Re: delete a block of lines

Posted: Wed Aug 20, 2025 4:43 pm
by Derek_Stewart
Hi,

I use the command:

DLINE start TO finish

example

DLINE 100 TO 300

See:

https://superbasic-manual.readthedocs.i ... dline.html

Re: delete a block of lines

Posted: Wed Aug 20, 2025 6:05 pm
by swensont
DLINE - I knew there was a command but I forgot about it. It's been so long since I've used the built-in SB editor.

Tim

Re: delete a block of lines

Posted: Wed Aug 20, 2025 8:03 pm
by AndyRed64
Thanks both 👍