Search found 1 match
- Fri May 15, 2015 9:50 pm
- Forum: New to Dyalog?
- Topic: Stupid question - entering multi-line dfns...
- Replies: 3
- Views: 14537
Stupid question - entering multi-line dfns...
I'm trying to figure out how to enter a multi-line dfn, such as: 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.