Problem with 'add'?

Mike Bonner bonnmike at gmail.com
Sun Apr 15 09:24:53 EDT 2012


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
>
> I get 12, whereas I should have got 32. Same thing when I just add 20.
> What am I doing wrong?
>
> Graham
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list