bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] user commands in config file


From: Alexey Veretennikov
Subject: Re: [Bug-apl] user commands in config file
Date: Thu, 22 Dec 2016 17:50:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Thanks,

This works as it should.


Juergen Sauermann <address@hidden> writes:

> Hi Alexey,
>
> I suppose that ⎕LX expects an APL expression and not an APL command.
>
> Like (just guessing, not tested):
>
> ⎕LX←"⍎']USERCMD ]ed EDIT1 1'"
>
> /// Jürgen
>
> On 12/22/2016 01:16 PM, Alexey Veretennikov wrote:
>
>  Hi,
>
> When I set the user command in the ⎕LX variable and save the
> workspace and then load it again, I get the following error:
>
> SAVED 2016-12-22 13:09:00 (GMT+1)
> Unbalanced bracket
>       ⎕LX
> ]USERCMD ]ed EDIT1 1
>       ⍎']USERCMD ]ed EDIT1 1'
>      User-defined command ]ed installed. 
>       ⍎⎕LX
>      User-defined command ]ed installed. 
>       
> While as you can see if I exec this manually or directly exec ⎕LX I have
> no problems. 
>
> Juergen Sauermann <address@hidden> writes:
>
>  Hi Alexey,
>
> the easiest way to achieve both is to have a workspace named CONTINUE
> in library 0 (library 0 is by default the directory named workspaces, but 
> that can
> be changed in the preference file(s)).
>
> If that workspace exists then it will be )LOADed automatically and you can 
> set ⎕LX
> in the CONTINUE workspace to, for example, execute an initialization function 
> or to )COPY
> other workspaces.
>
> /// Jürgen
>
> On 12/20/2016 12:13 AM, Alexey Veretennikov wrote:
>
>  Hi all,
>
> 1) I would like to add my user commands to the preferences file, so they
> would be available for all workspaces (even the clear one) when I start
> APL.
> 2) I would also like to copy some functions from some utility workspaces so
> they will be available in all workspaces when I start APL. 
>
> How to do that?
>
>
>
>

-- 
Br,
/Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]