Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] <

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MIA, Ask an Expert: Having trouble comparing two variables
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Mon, 28 Feb 2011 09:14:58 -0500

On Mon, 28 Feb 2011 00:50:43 -0500, <askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

multipleq [b][What is the capital of New York State? ] [a. Buffalo] [b. Albany] [c. Manhattan] [d. Suffolk County]

the input "correct_ans" should contain a word, not a list, because the output of "answer" is a word. Therefore:

multipleq "b [What is the capital of New York State? ] [a. Buffalo] [b. Albany] [c. Manhattan] [d. Suffolk County]

to multipleq correct_ans mquestion ans1 ans2 ans3 ans4

the way you declare inputs is like this:

to multipleq :correct_ans :mquestion :ans1 :ans2 :ans3 :ans4

Daniel
OpenWorld Learning



  • Previous by thread: MIA, Ask an Expert: Having trouble comparing two variables

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008