"local" names
1 post
• Page 1 of 1
"local" names
Always loth to point out oddities and curiosities in case I'm misunderstood as making a complaint.
I can imagine that some accidental carry over from tradfns might have caused it but I just discovered that if I assign a name or even just name it in line zero of a dfn it starts to appear in the autocomplete list within that function. This is most helpful and might even be deliberate and well documented but ten minutes ago is the first I knew of it.
It means I can do
But don't get me wrong. I'm not asking to to be required to have a list of semi-colon separated names at the top of every function.
Whether it's a fortunate accident or not please don't take it away.
Dyalog APL/W-64 Version 15.0.29007
I can imagine that some accidental carry over from tradfns might have caused it but I just discovered that if I assign a name or even just name it in line zero of a dfn it starts to appear in the autocomplete list within that function. This is most helpful and might even be deliberate and well documented but ten minutes ago is the first I knew of it.
It means I can do
⎕ed'f00'Result!
f00←{these required constants←83145 94370 77415
bla bla bla
...
req[and up pops the name "required"!
But don't get me wrong. I'm not asking to to be required to have a list of semi-colon separated names at the top of every function.
Whether it's a fortunate accident or not please don't take it away.
Dyalog APL/W-64 Version 15.0.29007
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
1 post
• Page 1 of 1
Return to Functional Programming
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group