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
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
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