bbcbasic for dos.

Discussions about the BBC BASIC language, with particular reference to BB4W and BBCSDL
funkheld
Posts: 30
Joined: Sun 12 Feb 2023, 10:16

bbcbasic for dos.

Post by funkheld »

Hi good afternoon.
I come from Germany and am 74 years old.
play with the bbcbasic for dos and the dosbox x.

How can I get programs that I write in text to run?
bring with bbcbasic for dos.
Is there a program that is in there in that folder
or is there another program for this please?

Is there a compiler in the bbcbasic dosing folder please?

Thanks.
greeting
Hated Moron

Re: bbcbasic for dos.

Post by Hated Moron »

funkheld wrote: Tue 03 Oct 2023, 07:13 How can I get programs that I write in text to run?
You can use *EXEC to load a program in plain text:

Code: Select all

NEW
*EXEC myprog.bas
RUN
Or you can convert the program to internal (tokenised) format:

Code: Select all

NEW
*EXEC myprog.bas
SAVE "myprog.bbc"
Then you can run it from the DOS prompt with:

Code: Select all

> BIGRUN myprog.bbc
funkheld
Posts: 30
Joined: Sun 12 Feb 2023, 10:16

Re: bbcbasic for dos.

Post by funkheld »

hello , thanks for the info.

greeting.
funkheld
Posts: 30
Joined: Sun 12 Feb 2023, 10:16

Re: bbcbasic for dos.

Post by funkheld »

how can you convert bbc to bas(txt) now please?

Thanks.

greeting
Hated Moron

Re: bbcbasic for dos.

Post by Hated Moron »

funkheld wrote: Tue 03 Oct 2023, 18:42 how can you convert bbc to bas(txt) now please?
You can do it this way:

Code: Select all

LOAD "myprog.bbc"
*SPOOL myprog.bas
LIST
*SPOOL
But there's also a program CONVERT.COM supplied which I think can do it (in either direction).
funkheld
Posts: 30
Joined: Sun 12 Feb 2023, 10:16

Re: bbcbasic for dos.

Post by funkheld »

hello, thanks for help.

greeting