Hi,
I believe there is no reasonable way how a script that uses the ∇-editor
can know how a possibly already existing function looks like. In other
words, appending in a script is, in practice, always a mistake.
I have therefore changed the ∇-editor so that it always clears a function
if execute
On 2014-04-26 21:15:43, Elias Mårtenson wrote:
> On 26 April 2014 20:52, Kacper Gutowski wrote:
>> ∇mean[0]
>> R←mean B
>> R←(+/B)÷⍴B
>> ∇
>>
>> This can be )COPY-ied many times without any problems as it enters the
>> editor with a name only and then explicitly rewrites header line at [0].
>
Hi,
I have changed the ∇-editor so that it clears the function when run from
a script (like )COPY does).
Still a bit experimental so please let me know where it fails. SVN 224.
I guess Elias can tell you that interfacing to an arbitrary editor (like
in )EDITOR) is not entirely trivial
and als
On 26 April 2014 20:52, Kacper Gutowski wrote:
> On 2014-04-26 12:08:14, Juergen Sauermann wrote:
> > I could make the ∇-editor aware that a )COPY is in progress and that
> > functions shall be deleted automatically by the ∇-editor.
>
> I like a lot that there is now a command that sources anothe
On Sat, 26 Apr 2014 14:52:49 +0200
Kacper Gutowski wrote:
> On 2014-04-26 12:08:14, Juergen Sauermann wrote:
> > I could make the ∇-editor aware that a )COPY is in progress and that
> > functions shall be deleted automatically by the ∇-editor.
>
> I like a lot that there is now a command that so
On 2014-04-26 12:08:14, Juergen Sauermann wrote:
> I could make the ∇-editor aware that a )COPY is in progress and that
> functions shall be deleted automatically by the ∇-editor.
I like a lot that there is now a command that sources another file
raw, much like "." in shell or "#include" in cpp.
Hi Jürgen
)copy ws fns with ws created from )save → ws.xml file overwrites the
fns which i think is the correct behavior
)copy fnswith fns a text file created with !# on first line -
(variant of )dump file) overwrites variables but opens the ∇ editor for and
appends
Hi,
the )COPY of text files is pretty new, so we have not much experience
with it yet.
I could make the ∇-editor aware that a )COPY is in progress and that
functions shall be
deleted automatically by the ∇-editor.
/// Jürgen
On 04/26/2014 03:08 AM, enz...@gmx.com wrote:
I delete the emai
I delete the email addresses from the replies i don't know if it is even needed
to do that
I've put together the following based on Jurgen's info about )copy text_file
(with !# in first line) for editing fns outside of the workspace with vi
one problem? i've found is - if the fns already exist
There isn't, but implementing it is possible in APL itself. To my knowledge
this has not been done yet.
Regards,
Elias
On 26 Apr 2014 07:16, wrote:
> I've found ⎕ex that can used in a function since )erase can't so is there
> a suitable ⎕cp for )copy - i've looked in all the .def files and blown
10 matches
Mail list logo