Try:

z%=RND(-1,1,0)

this run in MG ROM,

but...

(1,-1,0)
(0,1,-1)
(0,-1,1)
(-1,0,1)
(1,0,-1)

...don't work

Javier Guerra
http://sinclairql.es


Andy Barber escribió:
Can I use z%=RND(-1,0,1)?

Will this give me a 33.3...% chance of giving a random number?

Regards Andy Barber
Mailto:[EMAIL PROTECTED]
Tel: +44 20 8402 3385 ~ Mobile +44 791 883 4739 ~ Fax: +44 705 069 5845



      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm



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

Reply via email to