Mark 

> On 16 Oct 2015, at 07:26, Mark Waddingham <m...@livecode.com> wrote:
> 
> I think that is a combination of precedence ('is really a' binds more tightly 
> than '+') and the bug Paul noticed with regards 'constants' which are 
> currently represented as strings internally except in specific cases due to a 
> rather subtle issue with representations of numbers as strings.

I should have shown the code that I ran in the message box (multiline):

put "0" + 0 into tVar1
put tVar1 is really an integer

It returned false.

I added a test to my LiveCode tests. It also fails:

MT.startTest "Is Really 1"
    put "0" + 0 into tTemp
    MT.assert tTemp is really an integer
 MT.endTest

Should I open a bug report?

Warm regards

Peter
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to