Stupid question - entering multi-line dfns...
Posted: Fri May 15, 2015 9:50 pm
I'm trying to figure out how to enter a multi-line dfn, such as:
If I try to type it directly into the session it fails on the first line with a syntax error. How can I do this?
Thanks in advance.
Code: Select all
fact←{ ⍝ Factorial ⍵.
⍵≤1: 1 ⍝ Small ⍵, finished,
⍵×∇ ⍵-1 ⍝ Otherwise recurse.
}
If I try to type it directly into the session it fails on the first line with a syntax error. How can I do this?
Thanks in advance.