Re: Weird variable thing in 8.1.5

2017-07-18 Thread Tom Glod via use-livecode
I can't imagine the number of hours I would lose without having that option on. I have about 5 lines of code if not more. So maybe I need it more than most people. On Jul 16, 2017 3:38 PM, "Alex Tweedly via use-livecode" < use-livecode@lists.runrev.com> wrote: > > > On 16/07/2017 18:49, J

Re: Weird variable thing in 8.1.5

2017-07-16 Thread Alex Tweedly via use-livecode
On 16/07/2017 18:49, Jonathan Lynch via use-livecode wrote: In 14 years with LC I have never used that option. You should try it :-) Can be a bit of a pain to add all the local variable declarations - BUT every so often it will help you discover a typo in a variable name, and suddenly yo

Re: Weird variable thing in 8.1.5

2017-07-16 Thread Jonathan Lynch via use-livecode
com] On Behalf > Of Jonathan Lynch via use-livecode > Sent: Sunday, July 16, 2017 8:07 AM > To: use-livecode@lists.runrev.com > Cc: jonathandly...@gmail.com > Subject: Weird variable thing in 8.1.5 > > I just created a button with this script: > > On mous

RE: Weird variable thing in 8.1.5

2017-07-16 Thread ** Clarence P Martin ** via use-livecode
m] On Behalf Of Jonathan Lynch via use-livecode Sent: Sunday, July 16, 2017 8:07 AM To: use-livecode@lists.runrev.com Cc: jonathandly...@gmail.com Subject: Weird variable thing in 8.1.5 I just created a button with this script: On mouseup Put "test" into tTest End mouseUp It would n

Re: Weird variable thing in 8.1.5

2017-07-16 Thread Jonathan Lynch via use-livecode
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 > wrote: > > Hi Jonathan, > > This is because you have enabled Strict Compilation Mode. To fix that error: > > 1) add "local tTest" before "Put "t

Re: Weird variable thing in 8.1.5

2017-07-16 Thread panagiotis merakos via use-livecode
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

Weird variable thing in 8.1.5

2017-07-16 Thread Jonathan Lynch via use-livecode
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 wo