Discussion:
BASIC64 and !ZAP
(too old to reply)
c***@gmail.com
2020-01-06 11:00:00 UTC
Permalink
For convenience and easy editing I use the !Zap Basic facilities for testing new BASIC programmes. I now have a need for higher precision.

How, if at all can I make Zap use the BASIC64 module rather than BASICV?
Invoking BASIC64 via a star command just presents me with a BASIC prompt window, which is not what I want.

cheers

George Pearce
Steve Fryatt
2020-01-06 22:25:35 UTC
Permalink
Post by c***@gmail.com
For convenience and easy editing I use the !Zap Basic facilities for
testing new BASIC programmes. I now have a need for higher precision.
How, if at all can I make Zap use the BASIC64 module rather than BASICV?
Invoking BASIC64 via a star command just presents me with a BASIC prompt
window, which is not what I want.
The easiest thing might be to temporarily change the value of the
Alias$RunType_FFB system variable, so that it invokes Basic64 and not Basic:

*Set Alias$RunType_FFB Basic64 -quit "%0" %*1

or similar. Zap almost certainly just runs the files when launching them.

That said, what version of RISC OS are you talking about, and what hardware?
On recent versions of RISC OS and modern ARM hardware, *Basic might not
necessarily be running vanilla BASIC anyway, AIUI.
--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/
n***@sprow.co.uk
2020-01-07 08:23:12 UTC
Permalink
Post by Steve Fryatt
That said, what version of RISC OS are you talking about, and what hardware?
On recent versions of RISC OS and modern ARM hardware, *Basic might not
necessarily be running vanilla BASIC anyway, AIUI.
*BASIC always selects integer BASIC V. You might be thinking of *BASIC64?
As of BASIC VI 1.72 that will pick from VFP or FPA versions as deemed appropriate and run that for you (commands *BASICVFP and *BASICFPA can be used to explicitly pick one),
Sprow.
Steve Fryatt
2020-01-08 22:36:59 UTC
Permalink
Post by n***@sprow.co.uk
Post by Steve Fryatt
That said, what version of RISC OS are you talking about, and what
hardware? On recent versions of RISC OS and modern ARM hardware, *Basic
might not necessarily be running vanilla BASIC anyway, AIUI.
*BASIC always selects integer BASIC V. You might be thinking of *BASIC64?
As of BASIC VI 1.72 that will pick from VFP or FPA versions as deemed
appropriate and run that for you (commands *BASICVFP and *BASICFPA can be
used to explicitly pick one)
You're right; thanks for the correction... I was thinking of *BASIC64.
--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/
Loading...