Do however notice that for BBC Basic for windows, that a value of 1000 = 1E3 in the calculations. A useful tip for the BBC Basic programs, the “DEF PROC” and “PROC_sum”, are replaceable with “GOSUB” and “RETURN”  in

Q-Basic commands. The BBC “PLOT 5,x,y” are similar to “MOVE” and “LINE” in Q-Basic.

An evaluation copy of BBC Basic can be downloaded from the URL link shown :