the dotted syntax works in the same routine as curly braces.
There was a different question recently with such code.
The confusion comes up when you use curly braces INSIDE a dotted section.
as the nesting is calculated by the dots at the start of the line this causes confusion.
So cascading and intermixing is a NoNo.
on the other hand
. line1
. line2
. line3
is an equivalent to
line1
line2
line3
}
-
As dots are always in sequence a move to { } shouldn't be that hard.
Though I admit: It's additional effort
- Log in to post comments
