[Martenlist] Another question--How to do an if/then?

Luis luis at anachreon.co.uk
Fri Sep 28 17:48:56 EDT 2007


Hiya,

Glad to see some signs of life! One teensy little thing though: Why is 
the blog not on the Andescotia site? Or at the very least, a link to it?

Cheers,

Luis.



Jack Small wrote:
> Hello Rachel and everybody!
> 
> OK You heard it here first...  I have created a blog!  I've been kinda 
> slow on the uptake, but hopefully this will provide a forum for me to 
> communicate in more detail about Marten.
> 
> It's' all still new, I'm still learning the blog stuff, but send me your 
> feedback - and questions!
> 
> <http://jackon.downtowncode.com/>
> 
> More later,
> Jack
> 
> 
> On Sep 27, 2007, at 2:54 PM, Rachel Loyd wrote:
> 
>> Hello Again,
>>
>> I am trying to figure out the "answer" primitive, but I am confused 
>> about how to test the button press event. Let's say I have three 
>> buttons: A,B,and C. How would I set up a method to test the user's 
>> response. So far, I can get the button that was pressed to show the 
>> value of A,B or C, but I am not sure how to test the button press so 
>> that I can have the program respond in a different text to a proper 
>> answer or a wrong answer.
>>
>> If button A is pressed then show a dialog that says,"You got it!"
>> If button B is pressed then show a dialog that says, "Give it another 
>> try!"
>>
>> I populated the method with one text prompt and three text button 
>> labels A,B and C. The text roots all connect to the "answer" 
>> primitive. The answer primitive then connects to a "show" primitive.
>>
>> Anyone have an answer for "answer"?
>>
>>  TIA
>>
>> -Rachel
>> _______________________________________________
>> Martenlist mailing list
>> Martenlist at andescotia.com
>> http://lists.andescotia.com/mailman/listinfo/martenlist
> 
> _______________________________________________
> Martenlist mailing list
> Martenlist at andescotia.com
> http://lists.andescotia.com/mailman/listinfo/martenlist
> 
> 


More information about the Martenlist mailing list