|
From: | Blake McBride |
Subject: | Re: [Bug-apl] Rank error |
Date: | Thu, 29 May 2014 08:55:39 -0500 |
I'm always using source control, even for my personal local projects. That allows me to revert back to previous versions without any problems.I also use it for my local Emacs configuration. Very useful for keeping my machines in sync.Regards,EliasOn 29 May 2014 21:35, Blake McBride <address@hidden> wrote:
At times, yes. The particular case I am in, I am actually editing the .apl file directly because I have a lot of global search/replace operations. I am migrating some code from one WS to another. )COPY messed me up bad yesterday. I ended up throwing away my work and going to a backup. I am really looking forward to the two )COPY problems being resolved.Thanks.BlakeOn Thu, May 29, 2014 at 8:28 AM, Elias Mårtenson <address@hidden> wrote:
Wouldn't it make more sense to edit your code in files, and load it when needed? I.e. to keep the canonical version in the file instead of the workspace.
The fact that you are protected from interpreter crashes should be reason enough I think.
Regards,
EliasOn 29 May 2014 21:12, "Blake McBride" <address@hidden> wrote:Sorry about that. I oversimplified an actual case I had. I'll re-raise the issue if and when I hit it again. (I don't remember where that was.)On another note, the two )COPY issues have become a bit of a stumbling block for me. I actually lost work yesterday because of them. (I am finishing up an APL editor written in APL. I would typically load the WS I want to edit, copy the editor WS, edit the WS, and then ⎕EX the editor. This doesn't work without a functioning )COPY. Thanks!)
Thanks.BlakeOn Thu, May 29, 2014 at 6:49 AM, Juergen Sauermann <address@hidden> wrote:
Hi Blake,
according to IBM [] binds stronger than vector notation (APL2 language reference, page 34).
IBM APL2 also gives RANK ERROR in the examples below. Eg. 1 2 3[2] is evaluateded as 1 2 ( 3[2] ).
/// Jürgen
On 05/28/2014 06:41 PM, Blake McBride wrote:
)CLEARCLEAR WS1 2 3[2]RANK ERROR1 2 3[2]^^1 2 3[2 2]RANK ERROR1 2 3[2 2]^^x←1 2 3x[2 2]2 2
Of course, they should all work as if they were assigned to a variable first.
Blake
[Prev in Thread] | Current Thread | [Next in Thread] |