Search found 21 matches

by AndyRed64
Sat Aug 23, 2025 9:23 pm
Forum: Software & Programming
Topic: copy of block of lines from a program to another part of the same program
Replies: 10
Views: 1586

Re: copy of block of lines from a program to another part of the same program

Thank you PJW
AJ



<>
Does anyone know if I can copy a block of lines in a loaded program so I get a second copy later on in the same program?
<>
For short snippets of code I would normally just add a digit to each line I want to copy. If your code is numbered, say, 100 to 1000 and you want to ...
by AndyRed64
Sat Aug 23, 2025 9:22 pm
Forum: Software & Programming
Topic: copy of block of lines from a program to another part of the same program
Replies: 10
Views: 1586

Re: copy of block of lines from a program to another part of the same program

Dilwyn

When I entered the command SBASIC I got an error message so I tried the following and that seemed to work too:

LOAD mybigprogram_bas
SAVE ram1_tmp_bas;line1 TO line2 (line number range to be copied)
NEW
LOAD ram1_TMP_bas
RENUM as required
MERGE mybigprogram_bas

I guess that does about the ...
by AndyRed64
Sat Aug 23, 2025 4:35 pm
Forum: Software & Programming
Topic: copy of block of lines from a program to another part of the same program
Replies: 10
Views: 1586

Re: copy of block of lines from a program to another part of the same program

Dilwyn

That is super useful. Thank you very much. I think I will try the ram disc idea

Andrew
by AndyRed64
Sat Aug 23, 2025 1:38 pm
Forum: Software & Programming
Topic: copy of block of lines from a program to another part of the same program
Replies: 10
Views: 1586

Re: copy of block of lines from a program to another part of the same program

I have looked in the toolkit manual but the forum has classifed me as "ROM Dongle" for a reason :D
AJ
by AndyRed64
Sat Aug 23, 2025 1:37 pm
Forum: Software & Programming
Topic: copy of block of lines from a program to another part of the same program
Replies: 10
Views: 1586

copy of block of lines from a program to another part of the same program

Last time I was on here I learnt the command DLINE from the toolkit. Thank you.

Does anyone know if I can copy a block of lines in a loaded program so I get a second copy later on in the same program?

Thank you

Andrew
by AndyRed64
Wed Aug 20, 2025 8:03 pm
Forum: Software & Programming
Topic: delete a block of lines
Replies: 4
Views: 590

Re: delete a block of lines

Thanks both 👍
by AndyRed64
Wed Aug 20, 2025 3:34 pm
Forum: Software & Programming
Topic: delete a block of lines
Replies: 4
Views: 590

delete a block of lines

Is there a command to delete a block of lines from the loaded program?
by AndyRed64
Sat Aug 16, 2025 10:04 pm
Forum: Hardware
Topic: copying an mdv image from pc to QL vdrive
Replies: 7
Views: 1380

Re: copying an mdv image from pc to QL vdrive

That is really helpful. Thank you
AJ
by AndyRed64
Sat Aug 16, 2025 1:07 pm
Forum: Hardware
Topic: copying an mdv image from pc to QL vdrive
Replies: 7
Views: 1380

Re: copying an mdv image from pc to QL vdrive

I got quill working on the vdrive and I now understand what I was doing wrong.
-----------------------------------------
What I tried first and did not work:
-----------------------------------------
MKDIR 'QUILL'
CD 'QUILL'
MKIMG 'QUILL'
LD 3,'QUILL'
FORMAT MDV3_QUILL
This created a blank quill.mdv ...