|
Booth,
the randomization needs to be done _before_ he starts answering questions.
This is the program flow I'm trying to create:
1-select which multiplication tables he wants to treat (presently 1
through 10) via check boxes
2-create all questions & answers in an array
3-randomize the array so that the questions are not ordered anymore
4-read through the array, ask questions & store the results
(correct/wrong)
As I said earlier, step 2 is so quick that the array is filled within a
few milliseconds, resulting in many duplicate timer values.
Thanks anyway,
Peter Colpaert
Application Developer
Massive - Kontich, Belgium
-----
Yoda of Borg are we. Futile is resistance, assimilated will you be.
-----
"Booth Martin" <booth@xxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
10/03/2005 16:49
Please respond to RPG programming on the AS400 / iSeries
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc:
Subject: Re: Random number in VARPG
VARPG has a timer part. Perhaps you could use the timer? The timer
sample
has a bouncing VARPG, but if you made that an image and he clicked the
image
to get a new question.... Then use the timer value??? I think the timer
value is 1000 ticks per second.
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.