Search found 140 matches

by DDRM
Thu 30 May 2019, 07:49
Forum: Libraries
Topic: Big Integer Library
Replies: 3
Views: 2080

Re: Big Integer Library

As far as I understand, it is written purely in BBC BASIC, so it should run fine with BB4W. That also makes it more accessible to anyone wanting to help out, since I suspect that there are a limited number of us (not including me!) who might be able to write the routines in assembler... Best wishes, D
by DDRM
Wed 29 May 2019, 07:57
Forum: Announcements
Topic: BBC BASIC for SDL 2.0 version 1.03a released
Replies: 0
Views: 1386

BBC BASIC for SDL 2.0 version 1.03a released

Copied from Richard's post on the Stardot forum: I have released version 1.03a of BBC BASIC for SDL 2.0, the cross-platform programming language for Windows, MacOS, Linux, Raspbian (Raspberry Pi), Android and iOS. The changes in this version are as follows: IDEs / Compiler BBCEdit: Andy Parkes' alte...
by DDRM
Wed 29 May 2019, 07:55
Forum: Libraries
Topic: Big Integer Library
Replies: 3
Views: 2080

Re: Big Integer Library

To follow up on this, Richard has made substantial progress in developing a limited BigInt library, and would value input from others to extend it. I copy, with permission, his comments to me: Things have moved on since then: I've written a barebones library with sufficient functionality to solve th...
by DDRM
Mon 27 May 2019, 18:14
Forum: Miscellaneous
Topic: BBC BASIC (86) for MS-DOS
Replies: 8
Views: 2322

Re: BBC BASIC (86) for MS-DOS

Have you looked on Richard's BBC BASIC home page?

http://www.bbcbasic.co.uk/bbcbasic.html

There's a link there that appears to be current?

Best wishes,

D
by DDRM
Sat 18 May 2019, 17:49
Forum: BBC BASIC language
Topic: PRIVATE Arrays, etc.
Replies: 2
Views: 872

Re: PRIVATE Arrays, etc.

Hi Matt, The whole point of private variables is that they are preserved between calls to the procedure or function, so it doesn't really make sense to re-dim it each time. I think what the help is referring to is if you have a private array with the same name as a global array. The manual DOES impl...
by DDRM
Wed 15 May 2019, 09:41
Forum: Suggestion Box
Topic: Indention and comments
Replies: 2
Views: 1168

Re: Indention and comments

Hi Ivan, These are my thoughts, and are in no way "official"! I agree that indentation of loops etc can be very handy in clarifying structure, and in finding bugs. This happens automatically in the IDE, which I find very helpful. I must say I find the very strict formatting requirements of Python (w...
by DDRM
Mon 29 Apr 2019, 14:38
Forum: Graphics and Games
Topic: Leading spaces INPUT
Replies: 3
Views: 1166

Re: Leading spaces INPUT

An alternative would be to use INPUT LINE? From the manual: "The item input is taken as is, including commas, quotes and leading spaces. "

Best wishes,

D
by DDRM
Mon 29 Apr 2019, 07:32
Forum: Desktop platforms and IDEs
Topic: How to possibly automatically run a file in .BAS format from the command line?
Replies: 4
Views: 2488

Re: How to possibly automatically run a file in .BAS format from the command line?

Wow! That's remarkably compact! Richard is a clever man...

I could see that what was needed was to tokenise file, but I'm sure you did too, so I didn't bother to say. I'd never have been able to write code like that, though - it's going to take some work to understand....

:-)

D
by DDRM
Sat 20 Apr 2019, 09:19
Forum: BBC BASIC language
Topic: Establishing the ESC state
Replies: 3
Views: 1571

Re: Establishing the ESC state

Thanks, Matt, I thought it would be in a logical place, and that is indeed a much more logical place...

:-)

D
by DDRM
Sat 20 Apr 2019, 09:10
Forum: BBC BASIC language
Topic: RETURN from FN or PROC
Replies: 2
Views: 1292

Re: RETURN from FN or PROC

Hi Matt, As you say, it depends on circumstances. I'd tend to use the FN approach if I only wanted one result, and the PROC approach if I wanted to return more than one. Using FN also means you can use it like a variable directly in an expression: product = FNGetResultOne(inputs) * FNGetResultTwo(in...