I found the following error "amusing".
Given a function Foo
Code: Select all
∇ Foo;i
[1] :For i :In ⍳0
[2] i
[3] :End
[4] :If i>1
[5] 'over 1'
[6] :End
∇
I did not expect it to error with a value error thus.
Code: Select all
Foo
VALUE ERROR: Undefined name: i
Foo[5] :If i>1
∧
Somehow (but I don't understand how it really could!) I would have expected "i" to have been assigned a value!
(An "empty" scalar perhaps? LOL)
Ray