It may have passed in the past (ahem) because the engine might have thought you 
were trying to multiply 5 by empty, and if that is allowed (empty interpreted 
as 1) then the parser would go, "Okay, sure!" 

I just put "put 5 times empty" into the message box and got 5. "put 5 times" 
also gives me 5. So syntactically "repeat with y =1 to 5 times" resolves to 
"repeat with y = 1 to (5 * 1)" and so parses fine. 

That it does NOT parse in 9.5 makes me curious as to what changed in the 
parser. 

Bob S


> On May 21, 2019, at 12:04 , dunbarxx via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi.
> 
> What Ludovic suggests is not just a shortCut. You can say:
> 
> repeat 5
> 
> or repeat 5 times
> 
> but you could never say:
> 
> repeat with y =1 to 5 times
> 
> It is not a regression, that is, something in the latest v.9 build, it is
> bad syntax.
> 
> Craig


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to