[MWForum]Spaces in answer

Bob Irving mwforum@lists.mathcats.com
Tue, 18 May 2004 09:37:25 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C43CBB.BA6C09D0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi all,

I'm teaching Microworlds Pro and my students are running up against a
problem I'm also stumped by. They are asking math questions with the
primitive "question", then testing the "answer" with ifelse, like so:

Question [how much is 2 + 2 1/2?)

Ifelse answer = [4 1/2] etc.

Here's the problem -- entering 4 1/2 (with the space) is counted as a wrong
answer. Using double quotes ("4 1/2) also doesn't work, because "answer"
only takes the first number (4). And ["4 1/2] doesn't work either.

I'm sure it's something simple, but I can't find the syntax in the docs.

TIA,

 

Bob Irving

Middle School Technology Coordinator

Lancaster Country Day School

Weblog --  <http://bobirving.weblogs.us/> http://bobirving.weblogs.us

 

 

"Technology will never replace teachers, but teachers who use technology
will replace those who do not." 


------=_NextPart_000_0008_01C43CBB.BA6C09D0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><FONT size=3D2>
<P>Hi all,</P>
<P>I'm teaching Microworlds Pro and my students are running up against a =
problem=20
I'm also stumped by. They are asking math questions with the primitive=20
"question", then testing the "answer" with ifelse, like so:</P>
<P>Question [how much is 2 + 2 1/2?)</P>
<P>Ifelse answer =3D [4 1/2] etc.</P>
<P>Here's the problem -- entering 4 1/2 (with the space) is counted as a =
wrong=20
answer. Using double quotes ("4 1/2) also doesn't work, because "answer" =
only=20
takes the first number (4). And ["4 1/2] doesn't work either.</P>
<P>I'm sure it's something simple, but I can't find the syntax in the =
docs.</P>
<P>TIA,</P>
<P>&nbsp;</P>
<P>Bob Irving</P>
<P>Middle School Technology Coordinator</P>
<P>Lancaster Country Day School</P>
<P>Weblog -- </FONT><A href=3D"http://bobirving.weblogs.us/"><U><FONT=20
color=3D#0000ff =
size=3D2>http://bobirving.weblogs.us</U></FONT></A></P><FONT size=3D2>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>"Technology will never replace teachers, but teachers who use =
technology will=20
replace those who do not." </P></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_0008_01C43CBB.BA6C09D0--

---
[This E-mail scanned for viruses by Declude Virus]