Re: [Bug-apl] 'include' directive?

2017-02-05 Thread enztec
i don't see 'messages below' but using a file chmod 644called ss2 with shebang#! ss2 (shebang created from )dump) but is a real executable shebang if chmod 700 ss2 if you have executable statements in ss2 they get executed at location of ⍎')copy ss2' (this will show )dump

Re: [Bug-apl] 'include' directive?

2017-02-05 Thread Juergen Sauermann
Hi, I was thinking of piping the input stream to apl through either m4 or cpp. Not so much for #include (which would come as a side effect) but because of macros. I am a big fan of macros. But I am not there yet. /// Jürgen

Re: [Bug-apl] 'include' directive?

2017-02-05 Thread Alexey Veretennikov
Yes this is what I tried to do with the copy, see messages below. enz...@gmx.com writes: > solved - )copy does it - but you can't have )off in the file ;) > > > On Sat, 4 Feb 2017 16:08:06 -0700 > enz...@gmx.com wrote: > >> Is there some kind of 'include' directive enabled for scripting or an

Re: [Bug-apl] 'include' directive?

2017-02-04 Thread enztec
solved - )copy does it - but you can't have )off in the file ;) On Sat, 4 Feb 2017 16:08:06 -0700 enz...@gmx.com wrote: > Is there some kind of 'include' directive enabled for scripting or an apl > programming method to accomplish it? > > like a )copy but in the script > > fns_group1.inc

[Bug-apl] 'include' directive?

2017-02-04 Thread enztec
Is there some kind of 'include' directive enabled for scripting or an apl programming method to accomplish it? like a )copy but in the script fns_group1.inc ⍝ grouping of similarefns ∇ fns1 ∇ ∇ fn2 ∇ #! /usr/local/bin/apl --script -- )include fns_group1.inc fns1 fns2 )off