|
Hi Alex, in APL you do not pass variables to a function, you pass values. In your example I believe you could (conceptually) something like this: fun (a b c ...)←1 (2 3) 4 ... Since you pass values and not variables, the vector assignment above is not needed and you could pass the value directly (the advantage or maybe disadvantage of the vector assignment above is that an incorrect number of arguments will be detected before fun is called, and that the number of items is made explicit): fun 1 (2 3) 4 ... inside the function, you then simply "undo" the above "assignment": ∇fun B (a b c ...) ← B ... /// Jürgen On 02/11/2016 03:27 AM,
[email protected] wrote:
|
- [Bug-apl] assignment to many variables alexweiner
- Re: [Bug-apl] assignment to many variables Juergen Sauermann
