Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Waddingham via use-livecode
On 2023-07-11 13:26, Mark Waddingham via use-livecode wrote: Anyway, we'll try and figure out what has changed to cause the change in behavior - at the very least we can go back and add a 'breaking change' warning to the release note for the change which caused the issue. Okay so after a bit

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Wieder via use-livecode
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

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Paul Dupuis via use-livecode
On 7/11/2023 11:20 AM, Bob Sneidar via use-livecode wrote: Or… he could just go through his code using the find utility and replace every instance of tExt with tExtension. :-) Yes, I plan to: tExt = t Ext = TEXT  > tFileExtension pLayer = p Layer = PLAYER > tObjectLayer etc.

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Bob Sneidar via use-livecode
Interesting. The reason I’ve never been bit by this I think, is that I like to use more descriptive variables. For instance, I might have use tFileExt. I think I got that from one of the articles (or lessons or books) from one of the Livecode contributors, that variable names should be as

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Bob Sneidar via use-livecode
Or… he could just go through his code using the find utility and replace every instance of tExt with tExtension. :-) Bob S On Jul 11, 2023, at 5:01 AM, Mark Waddingham via use-livecode wrote: On 2023-07-11 12:28, Paul Dupuis via use-livecode wrote: Does anyone, including folks at the

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Paul Dupuis via use-livecode
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. Ouch! 'pLayer' is another I'd better

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Waddingham via use-livecode
On 2023-07-11 13:20, Paul Dupuis via use-livecode wrote: Thank you! Bug filed: https://quality.livecode.com/show_bug.cgi?id=24266 I am fine changing 'tExt'. As Martin just posted, ‘All words in the English Dictionary should be considered reserved words.’ is not a bad rule. Just to illustrate

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Paul Dupuis via use-livecode
On 7/11/2023 8:01 AM, Mark Waddingham via use-livecode wrote: On 2023-07-11 12:28, Paul Dupuis via use-livecode wrote: Does anyone, including folks at the mothership, have a list of new reserved words in Livecode 10? I have used a variable called "tExt" (t for temp, Ext for extension)  to

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Martin Koob via use-livecode
Hi Paul, I remember that at a workshop or meeting, a few years PCE* it was says by someone from LiveCode (although possibly RunRev at the time) by Mark W (I think but I could be wrong but definitely from the mothership) that ‘All words in the English Dictionary should be considered reserved

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Waddingham via use-livecode
On 2023-07-11 12:28, Paul Dupuis via use-livecode wrote: Does anyone, including folks at the mothership, have a list of new reserved words in Livecode 10? I have used a variable called "tExt" (t for temp, Ext for extension)  to pull of the file extension from file paths. i.e. if tFile

Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Paul Dupuis via use-livecode
Does anyone, including folks at the mothership, have a list of new reserved words in Livecode 10? I have used a variable called "tExt" (t for temp, Ext for extension)  to pull of the file extension from file paths. i.e. if tFile contains "C:/users/paul/desktop/image.png" set itemDel to "."