| | random problems... Steve Hassenplug
|
| | I'm having a problem with the random() function in BrickOS. I keep getting a return value of zero. Is there something that needs to be set-up before using the function? What kind of value does it return? I've seen documentation that says it returns (...) (21 years ago, 29-Dec-03, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: random problems... Bapt Denaeyer
|
| | | | (...) How do you know that it return 0 ? nanobapt (21 years ago, 29-Dec-03, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | Re: random problems... Steve Hassenplug
|
| | | | (...) I found out what my problem was. I didn't seed the random number. This seems to be REQUIRED. (21 years ago, 30-Dec-03, to lugnet.robotics.rcx.legos)
|
| | | | |