delete a block of lines

Anything QL Software or Programming Related.
Post Reply
AndyRed64
ROM Dongle
Posts: 15
Joined: Fri Jul 11, 2025 9:20 pm
Location: Southend-on-Sea, Essex

delete a block of lines

Post by AndyRed64 »

Is there a command to delete a block of lines from the loaded program?


swensont
Forum Moderator
Posts: 328
Joined: Tue Dec 06, 2011 3:30 am
Location: SF Bay Area
Contact:

Re: delete a block of lines

Post 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


Derek_Stewart
Font of All Knowledge
Posts: 4831
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: delete a block of lines

Post 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


Regards, Derek
swensont
Forum Moderator
Posts: 328
Joined: Tue Dec 06, 2011 3:30 am
Location: SF Bay Area
Contact:

Re: delete a block of lines

Post 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


AndyRed64
ROM Dongle
Posts: 15
Joined: Fri Jul 11, 2025 9:20 pm
Location: Southend-on-Sea, Essex

Re: delete a block of lines

Post by AndyRed64 »

Thanks both 👍


Post Reply