Thanks, This works as it should.
Juergen Sauermann <[email protected]> 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 <[email protected]> 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
