On 27/11/2010 11:28, Dilwyn Jones wrote:
It mostly works until density% becomes 5 at which point it fails at
line 310 with "bad parameter", presumably because it is trying to do a
RND(1 to 0).

Well spotted!

Should work with changing that line to 310 IF RND(1 TO 6-density%)=1 THEN
which should make sure it gives a snow density of 1 to 5, whichis what
I'd intended.

That's what I did - 5 seemed arbitrary anyway.

When I figure out how to copy it from QPC to QemuLator (floppy disk?) or
QL2K I'll test it in QDOS. Just goes to show the dangers of assuming
that because it ran OK on one computer doesn't mean it'll always run OK
on another!

I'm using QL2K.
--
Regards,

Stephen
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to