Livecode 10.0.0dp5 new reserved words

Mark Wieder ahsoftware at sonic.net
Tue Jul 11 12:54:53 EDT 2023


On 7/11/23 07:56, Paul Dupuis via use-livecode wrote:
> On 7/11/2023 8:26 AM, Mark Waddingham via use-livecode wrote:
>> Cases of using 'tExt' is not uncommon - as it is really difficult to 
>> see that it is 'text'... Another one (which bit Ali recently) is 
>> `pLayer'. I'm sure there are a fair few other examples.

I'm not sure this is a bug that should be "fixed" other than with the 
breaking change warning as MW mentioned.

> Ouch! 'pLayer' is another I'd better check for. I may have used that as 
> well!

Of course neither tExt nor pLayer would be a problem if you enabled 
explicitVariables ("strict compilation mode" in LC preferences). If you 
tried to script that as a variable you'd get the compilation error

not a valid variable or constant name

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list