Re: [Bug-apl] svn 863 make warning/error

2017-02-02 Thread Juergen Sauermann
Hi Alexey, agreed, except that this is not at all about singletons. According to Wiki: In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one object. This is useful wh

[Bug-apl] SCRIPT.apl example from the apl.html

2017-02-02 Thread enztec
Hello from the apl.html --- SCRIPT.apl #! /usr/local/bin/apl --script ⊃⎕ARG ⍝ show command line options )OFF ⍝ leave the interpreter --- chmod 777 SCRIPT.apl --- ./SCRIPT.apl /usr/local/bin/apl --script ./mm.apl --- ./SCRIPT.apl arg1 . unkno

Re: [Bug-apl] SCRIPT.apl example from the apl.html

2017-02-02 Thread Christian Robert
./SCRIPT.apl -- arg1 I think this is what you want. Xtian. On 2017-02-02 21:11, enz...@gmx.com wrote: Hello from the apl.html --- SCRIPT.apl #! /usr/local/bin/apl --script ⊃⎕ARG ⍝ show command line options )OFF ⍝ leave the interpreter --- chmod 777 SCRIPT.apl -

Re: [Bug-apl] SCRIPT.apl example from the apl.html

2017-02-02 Thread Christian Robert
well "--" terminate the options for the program (apl) itself and pass the rest of the arguments to the client. Xtian. On 2017-02-02 21:11, enz...@gmx.com wrote: Hello from the apl.html --- SCRIPT.apl #! /usr/local/bin/apl --script ⊃⎕ARG ⍝ show command line options )OFF

Re: [Bug-apl] SCRIPT.apl example from the apl.html

2017-02-02 Thread Christian Robert
Yesterday or the day before I added to my Util workspace the folloing: ∇Parameters[⎕]∇ ∇ [0] z←Parameters [1] z←1↓(∨\(⊂'--')≡¨⎕arg)/⎕arg ∇ Xtian. On 2017-02-02 21:11, enz...@gmx.com wrote: Hello from the apl.html --- SCRIPT.apl #! /usr/local/bin/apl --script ⊃⎕AR

[Bug-apl] Bug when using negative arguments to ]BOXING

2017-02-02 Thread Elias Mårtenson
I get a DOMAIN ERROR when trying to use the new ]BOXING feature. Here's a transcript: * ]BOXING ¯29* * ⍳10* DOMAIN ERROR+ ⍳10 ^ * )more* A ⎕CR B with invalid A < 0 Regards, Elias