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
That was it - must have gotten clicked by accident. In 14 years with LC I have never used that option. Sent from my iPhone > On Jul 16, 2017, at 1:43 PM, ** Clarence P Martin ** via use-livecode > wrote: > > Check in your script editor window under the Edit Sub-menu and look to see > if "va

RE: Weird variable thing in 8.1.5

2017-07-16 Thread ** Clarence P Martin ** via use-livecode
Check in your script editor window under the Edit Sub-menu and look to see if "variable checking" is checked. That means that you need to declare any variables before you can use them. If you uncheck this, LiveCode will not require you to declare variables. Some people don't use variable checking a

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