At 11:20 PM +0530 3/22/01, Ravi Garimella wrote:
>Hi,
>I am trying to create a multiple choice test where the Questions and
>stored in one field and displayed in another field. Similarly the
>answers are stored in one field and displayed in another field. In my
>storage field where i store all my answers i use a (,) as a delimiter
>and (;) for the end of a question. How do i create a random answer
>generator from the code below. This code pickups the answer 
>depending onthe frame label number, but i want to have different 
>answer choices like on first entry it is [1,2,3,4] and on second it 
>is [3,2,1,4]
>

First time to put in a plug for my on-line OOP book.  If you want to 
read about a "RandomRange" object that will allow you to get random 
numbers in a range (e.g., in your case the numbers 1 through 4), go 
to:

   http://www.furrypants.com/loope

and check out the first part of my Chapter 5.

Irv
-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to