bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Command line WS load


From: Juergen Sauermann
Subject: Re: [Bug-apl] Command line WS load
Date: Fri, 14 Nov 2014 15:07:31 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Blake,

I have added a )QLOAD command as proposed, SVN 508.

Instead of --qload I made -L aware of -q. So you can use -L -q instead of --qload.

/// Jürgen


On 11/13/2014 04:34 PM, Blake McBride wrote:
Dear Juergen,

While you are at it, perhaps you can add a "--qload" command line option that does the load without printing the "SAVED YYYY" message.  This way a workspace can be run without having user question about what that means.

Thanks.

Blake


On Thu, Nov 13, 2014 at 8:32 AM, Juergen Sauermann <address@hidden> wrote:
Hi Blake,

OK, I understand. I will do that.

/// Jürgen


On 11/13/2014 03:16 PM, Blake McBride wrote:
Dear Juergen,

The -f option works well for APL script files but it doesn't load workspaces.  Additionally, the -f option requires a path, )LOAD uses an implied path.  

I have a saved workspace named "Books.xml".  I use it by starting APL from anywhere and then typing ")Load Books".  I want to be able to do:

apl -L Books

It should start APL and ")LOAD Books".

The -f option doesn't work with workspaces and it requires a path.

I now see that I can use the --LX option to do what I need, but I would still prefer the cleaner -L option I suggest.  So, this works:

    apl --LX ')load Books'

but I'd still like to have the -L option to do something common in an easier way.

Also, can you make "-q" a synonym for "--silent".  This is what most programs use.

This would be greatly appreciated!  Thanks.

Blake


On Thu, Nov 13, 2014 at 5:11 AM, Juergen Sauermann <address@hidden> wrote:
Hi Blake,

I can look into that. I guess I need a little more information, for example
what the difference to apl -f workspace is.

/// Jürgen


On 11/13/2014 04:13 AM, Blake McBride wrote:
Greetings,

It would be nice if GNU APL had a command line argument to specify a workspace to autoload on startup (rather than CONTINUE).  Here is the use case:

I create an application in GNU APL.  I want the user (who doesn't know programming) to simply click on something that starts the app.  If I can cause GNU APL to load a specified WS, I can have different links start up different APL applications.

When the user ends the app, I execute ⍎')off' thus the user never has to know anything about APL.

Thanks.

Blake









reply via email to

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