Re: BBC BASIC for Linux (86) v0.07a
« Reply #10 on: Apr 7th, 2017, 8:28pm »
Thanks, deleting sdlide.ini fixed the problem.
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.
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!