Global names in dfns
Posted: Tue Feb 04, 2020 4:35 pm
Is the following behaviour to be expected?
)clear
clear ws
input←?15 15⍴9
+/,input
1111
{p←⍵ ⋄ {p×+/,⍵}input}2 3 4
2222 3333 4444
f←{p×+/,⍵}
{p←⍵ ⋄ f input}2 3 4
VALUE ERROR: Undefined name: p
f[0] f←{p×+/,⍵}
∧