Weird variable thing in 8.1.5

** Clarence P Martin ** chipsm at themartinz.com
Sun Jul 16 13:43:13 EDT 2017


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 and other do. That is a personal
preference. Look up variable checking in the manual and you can decide what
to do.

Sincerely,

Clarence Martin
Email: chipsm at themartinz.com
Cell: 626 6965561

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Jonathan Lynch via use-livecode
Sent: Sunday, July 16, 2017 8:07 AM
To: use-livecode at lists.runrev.com
Cc: jonathandlynch at 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 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





More information about the use-livecode mailing list