|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] Locked functions do not stay locked after )LOAD |
Date: | Sat, 17 May 2014 22:19:25 +0800 |
Hi Blake,
thanks, fixed in SVN 270.
Please note that ⎕AT is not standard and that the attributes other
than "locked" will not be supported by GNU APL.
Note also that ⎕CR shows an empty result when a function is locked, while
10 ⎕CR and )DUMP display it even if locked.
This is because I believe that hiding a function completely is not compatible
with the thinking behind the GPL under which GNU APL is released.
/// Jürgen
On 05/15/2014 05:42 PM, Blake McBride wrote:
)CLEAR
CLEAR WS
∇z←test
[1] z←5 5⍴⍳25
[2] ⍫
test
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
∇test[⎕]∇
DEFN ERROR+
∇test[⎕]∇
^
)SAVE abc
2014-05-15 10:40:56 (GMT-5)
)LOAD abc
SAVED 2014-5-15 15:40:56 (GMT-5)
test
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
∇test[⎕]∇
∇
[0] z←test
[1] z←5 5⍴⍳25
∇
[Prev in Thread] | Current Thread | [Next in Thread] |