-
Greg Thankyou so much for your efforts. The “next_2” wasn’t something I heard of. As you know I’ve been learning part time for a couple of years only. I was trying to read a bit about it and couldn’t really find much of an explanation for a layman other than:
Next method:Returns a random number greater than or equal to 0.
Next_2method: Returns a random number within the specified range.
Next_3method: Returns a random number greater than or equal to 0 that is less thanthe specified maximum value.
NextDoublemethod: Returns a random number between 0.0 and 1.0.
I’ll be honest I still don’t really understand it enough to try and work with it. I’m wondering if the choosing of the questions could be based on the sections of the document instead of all tables in the document? So if I added questions in 20 sections could this work to randomly take a number of questions from each section? So if I entered 100in the input box could it go and take 5 questions randomly from each of the 20 sections?If it could I suppose there would need to be a handler of some sort in case there was less than the average calculated to take from each section like for example: “If section X has less than the 100\20 then add the difference to other sections so the total is still 100 questions”?
Last edited by Aussiebear; 01-20-2025 at 04:50 AM.
Reason: speling
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules