Hi David,
I am glad that you found a workaround. ⎕CP would have been rather tricky
because
)COPY supports .xml and .apl files. The .xml files can be decoded
directly, but the .apl files
involve the APL interpreter to execute them (including APL commands)
which is somewhat
difficult to do (and subject to errors) when called from a function as
opposed to immediate
execution mode.
/// Jürgen
On 04/28/2014 08:29 PM, David B. Lamkins wrote:
I withdraw my request for a quad-COPY. I've built a comparable facility
in APL using lib_file_io, a UTF-to-UCS conversion (on top of quad-UCS),
and some glue around quad-FX and execute.
On Sun, 2014-04-27 at 09:15 -0700, David B. Lamkins wrote:
I'm far enough along in developing a package manager (a lot of the
scaffolding is already written) that I'm ready for the next step. I need
a way to copy APL dump-format files into the current workspace under
control of an APL program.
It seems that the natural approach would be a quad-COPY system function,
which would do the same thing as the )copy command.
If I've overlooked some existing way to do the same thing, please
advise.