Re: 'Coordinate' syntax

2016-06-13 Thread Mark Wieder
Graham Samuel writes: > Funny, I never noticed, after all these years… ...and if you find that surprising, you'll love the fact that you can also do that with return values: -- returns 100,200 function myPoint local x, y put 100 into x put 200 into y return x, y end myPoint -- Mark

Re: 'Coordinate' syntax

2016-06-13 Thread Graham Samuel
Funny, I never noticed, after all these years… Thanks, clarified. Graham > On 13 Jun 2016, at 23:46, Dar Scott wrote: > > The comma is an infix string concatenation operator much like & and &&. > > a,b > is the same as > a & comma & b > > Pretty handy. > > This can get you into troubl

Re: 'Coordinate' syntax

2016-06-13 Thread Dar Scott
The comma is an infix string concatenation operator much like & and &&. a,b is the same as a & comma & b Pretty handy. This can get you into trouble if you accidentally put parentheses around command parameters. You end up with one argument, a comma separated list. The compiler doesn't