Weird variable thing in 8.1.5

jonathandlynch at gmail.com jonathandlynch at gmail.com
Sun Jul 16 11:21:33 EDT 2017


Thanks Panos

It is amazing how many options LC has. :)



Sent from my iPhone

> On Jul 16, 2017, at 11:14 AM, panagiotis merakos via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi Jonathan,
> 
> This is because you have enabled Strict Compilation Mode. To fix that error:
> 
> 1) add "local tTest" before "Put "test" into tTest"
> 
> OR
> 
> 2) Disable strict compilation (LC Preferences -> Script Editor -> Strict
> Compilation Mode)
> 
> Best,
> Panos
> --
> 
> On Sun, Jul 16, 2017 at 4:06 PM, Jonathan Lynch via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> I just created a button with this script:
>> 
>> On mouseup
>>  Put "test" into tTest
>> End mouseUp
>> 
>> It would not compile, producing the following error:
>> 
>> Compilation error at line 2 (Chunk: can't create a variable with that name
>> (explicitVariables?)) near "tTest", char 15
>> 
>> Why would this happen?
>> 
>> Nobody would ever be able to use 8.1.5 if that always happened, so what
>> would make it happen now?
>> 
>> Sent from my iPhone
>> _______________________________________________
>> 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
>> 
> _______________________________________________
> 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