bug-apl
[Top][All Lists]
Advanced

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

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


From: Christian Robert
Subject: Re: [Bug-apl] SCRIPT.apl example from the apl.html
Date: Thu, 2 Feb 2017 21:34:27 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

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, address@hidden 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

---

./SCRIPT.apl

/usr/local/bin/apl
--script
./mm.apl

---

./SCRIPT.apl  arg1
.
unknown option 'arg1'
usage: apl [options]
    options:
....

??




reply via email to

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