Copying objects from a saved ⎕SE

The Dyalog "Knowledgebase". This forum is read-only
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.

Copying objects from a saved ⎕SE

Postby AndyS|Dyalog on Tue Oct 11, 2011 2:16 pm

Currently it is not possible to )COPY or ⎕CY from either a session file or an extended workspace file.

One workaround, suggested by Geoff Streeter, is as follows:

In the source APL:

)save + tmpse

In the target APL:

      )copy ./tmpse se.object

Where se.object is each of the objects which you wish to copy in turn. It would probably be a good idea to generate that list in the original session and save as a variable which could be copied into the target session and used as a base for an automated set of ⎕CYs.

The "+" in )save + causes the interpreter to save a copy of the ⎕SE namespace along with the workspace in an extended workspace file.
User avatar
Posts: 244
Joined: Tue May 12, 2009 6:06 pm

Return to Frequently Asked Questions (FAQ)

Who is online

Users browsing this forum: No registered users and 1 guest