How about checking if argv[0] is "aplscript" and then run it as if --script
had been given?
That would allow you to symlink apl to aplscript and provide both
behaviours.
Regards,
Elias
On 5 Jun 2016 17:53, "Juergen Sauermann"
wrote:
> Hi Xiao-Yong,
>
> you can already run apl as proposed. The o
Hi Xiao-Yong,
you can already run apl as proposed. The only difference is that
--script is not automatically implied.
But setting --script automatically would make the use of GNU APL
incompatible with the needs of
other users (including myself)
Hi,
it kind of worked earlier, but not really.
I changed the behavior in SVN 622 in order to fix a bug reported
earlier.
If I remember correctly then:
- )LOAD of a workspace with a monadic function called dyadically
on the )SI stac
something similar,
)reset
∇z←Push func;f2c;fh
[1] f2c←{(⎕ucs 10),⍨¨{(∼⌽∧\⌽⍵=' ')/⍵}¨{⊂[1+⎕io]⎕cr ⍵} ⍵}⍝ Internal macro
to transform a function to text
[2] fh←'w' ⎕fio[3] 18 ⎕cr {(∼⌽∧\⌽⍵=' ')/⍵}func ⍝ Open a file, no
trailing blanks, honor utf-8 names
[3] ⊣{⍵ ⎕fi