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] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: question and answer
From: LCSI <alain@xxxxxxx>
Date: Sun, 15 Jun 2008 12:48:34 -0400

I'm late, but here are a few clues:

if answer = "|hello world| [do something] (notice the vertical bars)
if member? "hello answer [do something]
if (parse answer) = [hello world] [do sommething]

This is all based on the following:
show answer
hello world
show count answer
11
show first answer
h
show parse answer
hello world
show count parse answer
2
show list? answer
false
show list? parse answer
true
show first parse answer
hello
show member? "hello answer
true


Le 2008-05-29 à 13:30, Burke, Bridget - CKJH a écrit :

Can you have an answer with more than one word?
if answer = "hello world [dosomething]
What I can't figure out is how to get it to take both words.

if answer = se "helllo world ; this does not work. I have tried many [] and ( ) combo.
I know this can be done.
Bridget Burke



  • Previous by thread: Re: question and answer
  • Next by thread: What is programming?

  • 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