Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: Random Numbers & Random Events

Feedback on: Random Numbers & Random Events

Sent by Alisdair MacRae on January 06, 2000 at 14:27:56: - feedback #700

Worth:
Very worth reading

Comments:
Martin,
I very much enjoyed your articles on JavaScript Random Numbers and Random Events. As it were, I am developing a quiz that generates random question values and gives the right answer plus three bogus ones. However, I am stuck on trying to order the four answers so that they are in an unpredictable order each time. Any suggestions?

Thank you,
Alisdair MacRae
Dept. Nat'l Defence


Sent by Bjoern Andersson on February 23, 2000 at 14:53:10: - feedback #847

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
I Wonder how to change the number of URL items in the random frame?

Pls help me
b.reg
Bjoern


Sent by Anders Svartström on March 15, 2000 at 06:49:06: - feedback #933

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
WOW! I'm very amazed by the things on irt. I have found solutions on almost all problems I've had. But one small one remains after this article. I have a bounch of text strings called output1, output2, etc and want to combine the randomizer so that it randomly picks one of the text strings and places it in an text where I have a <script>document.write(outputX)</script> string. The question is is it possible to combine the rand() function with that in any way? What I want is "output + rand(10)" within the document.write without having to create a list like the male() function in the article. I've tried several possibilities, but they won't work.


©2018 Martin Webb