BBC BASIC
« BBC BASIC for Linux (86) v0.07a »

Welcome Guest. Please Login or Register.
Jan 22nd, 2018, 4:46pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: BBC BASIC for Linux (86) v0.07a  (Read 1500 times)
PatrickM
New Member
Image


member is offline

Avatar




PM


Posts: 12
xx Re: BBC BASIC for Linux (86) v0.07a
« Reply #10 on: Apr 7th, 2017, 8:28pm »

Thanks, deleting sdlide.ini fixed the problem.

Quote:
That's no different from BB4W and all the other versions of BBC BASIC from my 'stable' for the last 35 years!


Right, I see, I didn't know that. I actually haven't used BB4W, up until now I've only used BASIC on the BBC Micro and in RISC OS, and the Brandy interpreter on linux, which behave differently in this regard. Thanks for letting me know.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 691
xx Re: BBC BASIC for Linux (86) v0.07a
« Reply #11 on: Apr 7th, 2017, 9:18pm »

on Apr 7th, 2017, 8:28pm, PatrickM wrote:
I've only used BASIC on the BBC Micro and in RISC OS, and the Brandy interpreter on linux, which behave differently in this regard.

It is usual in CP/M, MS-DOS and Windows for a 'default' extension to be assumed if none is explicitly supplied; the idea being that the application knows what file type is most appropriate for the particular operation. So if the filename you provide contains no 'dot' that default extension will be appended. In the special case of a file with no extension (which is rare in those Operating Systems, but less so in Unix) that is indicated by adding a trailing dot.

Admittedly I have on many occasions questioned whether defaulting to .bbc was sensible for OPENIN, OPENOUT and OPENUP, since that extension is supposed to indicate a tokenised program file. The conclusion I invariably come to is that it wasn't - probably something like .dat would have been a better choice - but that making a change now would break far too many existing programs.

You may well encounter more differences that have resulted from the divergence between the 'Wilson' and 'Russell' branches of BBC BASIC (a divergence which started very early on, for example in that 'suffixless' variables are numeric variants not floats). I hope you won't find the transition too traumatic!

Richard.

User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls