Has anybody figured out multiline editing?

I must be missing something stupid, but I can’t seem to figure out multiline editing.
When I copy/paste or type multiline functions (with curly braces on different lines) I get a syntax error.

I saw some posts on settings on dyalog on windows, but don’t see those on the mac.

Check out the HarmonicMean example in this section of this book

]dinput
HarmonicMean ← {
    inverses ← ÷⍵
    sum ← +/inverses
    ÷sum
}
HarmonicMean 2 3 4
3 Likes

Thanks. That worked perfectly.

1 Like