Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

programming • Scarab (BBC BASIC) without "Accuracy Lost"

$
0
0
Richard Russell's Scarab demo produces some fairly intricate output for a small program: see this thread for example output.

The code is quite simple:

Code:

MODE 0VDU29,640;200;FOR Z% = 0 TO 200000z = z+3.14x = x-COS(z * z)y = y-SIN(z * z)PLOT 69,4*x,4*yPLOT 69,-4*x,4*yNEXT
(Owlet link)

On BBC Micro and RISC OS BBC BASIC, this code fails fairly quickly with "Accuracy Lost". Is there any way to work around that?

Statistics: Posted by scruss — Tue Jan 14, 2025 12:12 am



Viewing all articles
Browse latest Browse all 2528

Trending Articles