Problem with 'add'?
Klaus on-rev
klaus at major.on-rev.com
Sun Apr 15 09:43:04 EDT 2012
Hi all,
Am 15.04.2012 um 15:24 schrieb Mike Bonner:
> Interesting. remove the parens and it works. Do it like "add value(2*10)
> to t1" works. Seems like its not evaulating between the parens so
> effectively adds 0 to 12. Forcing the evaluation makes it work.
>
> Seems wonky to me.
>
> On Sun, Apr 15, 2012 at 7:17 AM, Graham Samuel <livfoss at mac.com> wrote:
>
>> Tracking down a bug, I put this into the message box
>>
>> put 3*4 into t1; add (2*10) to t1; put t1
this works correctly when putting this into a buttons script!
There ARE some ugly issues with the message box for a long time, and this seems to be one of them...
Here is another one:
...
answer file "Yadda Yadda" with type "Images|jpg,png,pdf,bmp|";put it
..
you will get "images" (on a Mac, maybe windows, too)
BUT:
...
answer file "Yadda Yadda" with type "Images|jpg,png,pdf,bmp|";ANSWER it
...
will ANSWER the correct filepath!
???
I already bug reported this about 4 years ago:
<http://quality.runrev.com/show_bug.cgi?id=6434>
>> I get 12, whereas I should have got 32. Same thing when I just add 20.
>> What am I doing wrong?
>>
>> Graham
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list