[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Random Number Generator Needed!



Yet another plea from a desperate psuedo-BASIC programmer:

I'm in need of a SHORT and SIMPLE random-number generator for ML.  Something
that'll return a number between $00 and $FF at a variable memory location.
I've tried using a few locations for a seed, but nothing seems to come up
random enough.  Basically, I'm stuck.  Anyone who's got some code that can
help me out, PLEASE write!  If it helps, I'm running on an e//e.  Thanks in
advance!

Ed

-- 

Edward S. Marshall                                         marshall@brandonu.ca
-------------------------------------------------------------------------------
                                    STRESS:
      The irresistable urge to deal with your problems by strangling the
           living shit out of someone who deseperately deserves it.
-------------------------------------------------------------------------------