[MWForum]little problem - with message this time
Consuella Jackson
mwforum@lists.mathcats.com
Thu, 13 May 2004 07:11:42 -0700 (PDT)
--0-639662935-1084457502=:37279
Content-Type: text/plain; charset=us-ascii
Thanks to everyone who responded. I've tried every solution.
I will share them with my students. I sometimes use Microworlds at the end of the year. This year I have many students who used the program in elementary and/or 6th grade. Everyone is excited and keep asking "how do I" Fortunately they have solved many of their own problems and taught the teacher some things.
Consuella
Susan van Gelder <susanvg@videotron.ca> wrote:
In MicroWorlds there is an operative called answer which goes with
question.
I can have a procedure
to q1
question [Is the weather nice today?]
if answer = "yes [announce [Go out and play]]
if answer = "no [announce [Find something to do inside.]]
end
You can also use ifelse
If it is true the instructions in the first set of brackets run;
otherwise the instructions in the second set of brackets run.
to q2
question [Is the weather nice today?]
ifelse answer = "yes [announce [Go out and play]] [announce [Find
something to do inside.]]
end
Hope this helps.
Susan
On May 13, 2004, at 8:30 AM, Consuella Jackson wrote:
> I tried that, but I kept getting "answer has no value"
>
> Pavel Boytchev
wrote:
> On Thu, 13 May 2004 04:39:48 -0700 (PDT), Consuella Jackson
> wrote:
>
> Consuella,
>
> You almost found the solution of:
>
> > if answer = "no I want one response but
> > if answer = "yes I want a different announce
>
>
> and it is (put in the brackets the appropriate announcement):
>
> IF :answer = "no [ ...one response... ]
> IF :answer = "yes [ ...different response... ]
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> Attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
> To unsubscribe or for administrative questions contact
> mailto:mwforum-admin@lists.mathcats.com
>
*************************************************************
Susan van Gelder
Educational Consultant
susan@susanvg.ca
http://www.susanvg.ca
_______________________________________________
MWForum mailing list
MWForum@lists.mathcats.com
http://lists.mathcats.com/mailman/listinfo/mwforum
Attachments archived at:
http://www.mathcats.com/mwforum/attachments.html
To unsubscribe or for administrative questions contact
mailto:mwforum-admin@lists.mathcats.com
--0-639662935-1084457502=:37279
Content-Type: text/html; charset=us-ascii
<DIV>Thanks to everyone who responded. I've tried every solution. </DIV>
<DIV> </DIV>
<DIV>I will share them with my students. I sometimes use Microworlds at the end of the year. This year I have many students who used the program in elementary and/or 6th grade. Everyone is excited and keep asking "how do I" Fortunately they have solved many of their own problems and taught the teacher some things. </DIV>
<DIV> </DIV>
<DIV>Consuella<BR><BR><B><I>Susan van Gelder <susanvg@videotron.ca></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">In MicroWorlds there is an operative called answer which goes with <BR>question.<BR><BR>I can have a procedure<BR><BR>to q1<BR>question [Is the weather nice today?]<BR>if answer = "yes [announce [Go out and play]]<BR>if answer = "no [announce [Find something to do inside.]]<BR>end<BR><BR>You can also use ifelse<BR>If it is true the instructions in the first set of brackets run; <BR>otherwise the instructions in the second set of brackets run.<BR><BR>to q2<BR>question [Is the weather nice today?]<BR>ifelse answer = "yes [announce [Go out and play]] [announce [Find <BR>something to do inside.]]<BR>end<BR><BR>Hope this helps.<BR><BR>Susan<BR>On May 13, 2004, at 8:30 AM, Consuella Jackson wrote:<BR><BR>> I tried that, but I kept getting "answer has no value"<BR>><BR>> Pavel Boytchev <PAVEL@ELICA.NET>wrote:<BR>> On Thu, 13 May 2004 04:39:48 -0700 (PDT), Consuella
Jackson<BR>> wrote:<BR>><BR>> Consuella,<BR>><BR>> You almost found the solution of:<BR>><BR>> > if answer = "no I want one response but<BR>> > if answer = "yes I want a different announce<BR>><BR>><BR>> and it is (put in the brackets the appropriate announcement):<BR>><BR>> IF :answer = "no [ ...one response... ]<BR>> IF :answer = "yes [ ...different response... ]<BR>> _______________________________________________<BR>> MWForum mailing list<BR>> MWForum@lists.mathcats.com<BR>> http://lists.mathcats.com/mailman/listinfo/mwforum<BR>> Attachments archived at:<BR>> http://www.mathcats.com/mwforum/attachments.html<BR>> To unsubscribe or for administrative questions contact<BR>> mailto:mwforum-admin@lists.mathcats.com<BR>><BR>*************************************************************<BR>Susan van Gelder<BR>Educational
Consultant<BR>susan@susanvg.ca<BR><BR>http://www.susanvg.ca<BR><BR>_______________________________________________<BR>MWForum mailing list<BR>MWForum@lists.mathcats.com<BR>http://lists.mathcats.com/mailman/listinfo/mwforum<BR>Attachments archived at:<BR>http://www.mathcats.com/mwforum/attachments.html<BR>To unsubscribe or for administrative questions contact <BR>mailto:mwforum-admin@lists.mathcats.com</BLOCKQUOTE>
--0-639662935-1084457502=:37279--