Back to this finally; thanks for your responses. I was crashing around yesterday, and in the future I promise to observe a "cooling off" period before I go posting things for you to answer.colin@loomer wrote: Thu Jan 24, 2019 9:06 amI don't believe that's the case, but if you've found an example where you need a space, could you send it to me and I'll see if I can work out where the lexer is going wrong. Thankscturner wrote: Wed Jan 23, 2019 9:15 pm EDIT: Also seems like there's a space required after the comma separating the key/value pairs in a map?
No, the value can be anything, as far as I recall. I think the map key can be anything but another map or array (although I think I could probably relax this limitation, if requested.)EDIT2: Is there a discrepancy between what the manual and application say is a map definition? Must the "value" be either a scalar or an array, not tuple?
Ah, so that is the request! I'll see if there is any technical reason why array map keys were forbidden, and if not, I'll allow them.I'm having a bit of a time trying to understand how to define keys that are vectors.
1st point: Can't reproduce the lexer issue today, and it was pretty obvious yesterday. I should've been able to make it happen again from the snippets left in my text editor. I'm declaring the issue non-existent.
2nd point: My confusion was with [build map], the function of which I misunderstood.

Today with a clearer head, I presume that the statement outlined in blue is functionally the same as the one outlined in yellow? So I was trying to feed [build map] with a (correct) definition of a map, and of course [build map] wanted to build a map from scalars and vectors.
3rd point: I haven't tried to build a map with an array as key, but one embarrassing confusion I had yesterday involved not remembering keys must be unique, correct? Writing a new element to the map with the same key value will write over the previous value, yes?
Thanks again, Charles

