|Subject:||Re: [Bug-apl] Beginner question: assigning functions to variables|
|Date:||Mon, 30 Apr 2018 14:31:12 +0000|
GNU APL closely follows IBM APL2 and the ISO standard for APL. Your syntax below is
not valid in APL2 or in ISO APL.
The IBM APL2 documentation used to be downloadable from IBM's APL2 web page (file apl2lrm.pdf).
In theory you could do
1 a 1
in GNU APL, but I can't think of a good reason why you would want to to that.
Other than obscuring your code, of course.
On 04/30/2018 04:10 AM, Kaspar Emanuel wrote:
Sorry, this might be a stupid question, but I have just started working through https://tutorial.dyalog.com (site seems to have gone down just now as well) and in it they suggest assigning functions to a variable. Something like:
a←+)fnsa1 a 12
In GNU APL this gives a syntax error. I am guessing this is not standard APL? I tried searching online and in the PDF linked from the GNU APL site but didn't come up with anything. Should I just ignore that part of the tutorial or is there something similar in GNU APL?
|[Prev in Thread]||Current Thread||[Next in Thread]|