bug-apl
[Top][All Lists]
Advanced

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

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


From: Juergen Sauermann
Subject: Re: [Bug-apl] 'include' directive?
Date: Sun, 5 Feb 2017 11:30:45 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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


On 02/05/2017 12:08 AM, address@hidden 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
⍝ grouping of similarefns
∇ fns1
∇

∇ fn2
∇







#! /usr/local/bin/apl --script --

)include fns_group1.inc

fns1
fns2

)off




reply via email to

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