The trailing }} matching {{)n must start in column 1.  See https://code.jsoftware.com/wiki/Vocabulary/DirectDefinition#Nouns_defined_with_.7B.7B.29n .

So, if you had this example in a script, it would match up wrong & give control error.

Henry Rich

On 12/2/2021 7:55 PM, Raul Miller wrote:
This works:

example=: {{
    T=.{{
|.y
    }}
   T,y
}}

This gives a control error:

example=: {{
    T=.{{)n
|.y
    }}
   T,y
}}

FYI,



--
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to