Oddity with RND
Posted: Thu Sep 18, 2025 8:23 am
I was just trying my back catalogue of games on Minerva, and came across an instance where Night Nurse didn't run even in 128K mode.
It reported an error in BASIC - the line was:
yrand = RND(60 TO 100,120 TO 190)
It is interesting that the JM and JS ROMs do not complain about this and appear to work - although they seem to do the equivalent of
yrand = RND(60 TO 100)
Has anyone come across this before - it might actually be a useful addition to specify more than one range!
It reported an error in BASIC - the line was:
yrand = RND(60 TO 100,120 TO 190)
It is interesting that the JM and JS ROMs do not complain about this and appear to work - although they seem to do the equivalent of
yrand = RND(60 TO 100)
Has anyone come across this before - it might actually be a useful addition to specify more than one range!