Execute
Revision as of 13:40, 10 February 2020 by Adám Brudzewsky (talk | contribs)
⍎
|
Execute (⍎
) is a primitive function that evaluates a string as APL code.
Examples
⍎'⍳10' 1 2 3 4 5 6 7 8 9 10
A common use for this is to assign a value using a name given by a variable:
varName←'myVar' myValue←42 {⍎varName,'←⍵'}myValue varName myVar myVar 42