Inconsistent comma requirements

Mark Wieder ahsoftware at sonic.net
Sat Jun 24 11:52:05 EDT 2017


On 06/24/2017 08:37 AM, Richard Gaskin via use-livecode wrote:

>    DoSomething with a and b
> 
> 
> Two questions:
> 
> How many of you have never before known that commas are optional between 
> definition arguments?

<hand raised>

However, I don't think that particular syntactic sugar, at least, would 
work. The "and" operator is already in use as a logical anding of two 
parameters, so there's no way for the parser to differentiate between 
that and a list of two separate parameters.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list