answer buttons incorporating a varible

Rich Lague laguer at ucs.orst.edu
Sun May 30 15:22:53 EDT 2004


Thanks Thierry! It works.

This list is a wonderful resource! I ask a question and get an 
immediate answer... :)

Rich


On Sunday, May 30, 2004, at 12:05  PM, Thierry Arbellot wrote:

> Hi Rich,
>
> Try to put the expression in brackets.
>
> on makeChoices
>   put "someProduct" into tProduct
>   answer "What's your pleasure?" with "new eval of another product"\
>   or "open old evaluation" or ("Evaluate" && tProduct)
> end makeChoices
>
> Thierry.
>
> On Sunday, May 30, 2004, at 20:50 Europe/Paris, Rich Lague wrote:
>
>> I'm trying to get the answer command to give a button with quoted 
>> text and a variable in it.
>>
>> The following script results in 4 buttons: "What's your pleasure?", 
>> "new eval of another product", "Evaluate" and "someProduct".
>>
>> on makeChoices
>>   put "someProduct" into tProduct
>>   answer "What's your pleasure?" with "new eval of another product"\
>>   or "open old evaluation" or "Evaluate" && tProduct
>> end makeChoices
>>
>> I want 3 buttons with the last button reading "Evaluate someProduct".
>>
>> I have also tried it like this:
>>
>> on makeChoices
>>   put "someProduct" into tProduct
>>   answer "What's your pleasure?" with "new eval of another product"\
>>   or "open old evaluation" or "Evaluate && tProduct"
>> end makeChoices
>>
>> This script returns three buttons, but the last button reads 
>> "Evaluate && tProduct".
>>
>> Is there a way?
>>
>> Thanks!
>>
>> Rich Lague
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list