xpqz/learnapl

Incorrect output for example on page /iteration.html

Closed this issue · 1 comments

Here:

×⍨¨1+⍳9  ⍝ Square elements via each (but see below!)
1 4 9 16 25 36 49 64 81

It should be:

      ×⍨¨1+⍳9
4 9 16 25 36 49 64 81 100
xpqz commented

Nope. Try setting ⎕IO←0:

      ר1+9 
1 4 9 16 25 36 49 64 81