A86: Another question. . .


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

A86: Another question. . .




OK, I solved the first problem (thanks Joshua =), but now I need to know the
best way to figure random numbers with an upper limit (It'll probably be 4,
but I'd rather have something where I can changethe max) -- so I want an
integer between 1-4.  I know the calc has a _RANDOM ROM cal, but I'm not
sure how to use that -- and I'm pretty sure I've seen the r register used. .
. So can someone send me a snipet of code that allows me to get a random
number between 1 and whatever???

S___________________________________________________C
|  The FIRST SimCity 3000 Site ~~ By Scott Noveck   |
3_ http://sc3k.home.ml.org OR http://sc3k.base.org _K
______
|       |\   /| |\   |
|_____  | \ / | | \  |
      | |  v  | |  \ |
______| |     | |   \|
      -SMN
      noveck@pluto.njcc.com (preferable)
      SMN@geocities.com     (slower)



Follow-Ups: