Hello Jürgen, thanks for the clarification. I found this page http://aplwiki.com/Transfer%20code and it's talking about APL2000 and others vendors, so I hope to find something similar with GNU-APL and Dyalog. Dyalog supports ]OUT and it generates a XWD file (extended file, not ATF).
So I'm wondering if there's a way to support this kind of format . thanks, Fausto 2015-04-24 18:17 GMT+02:00 Juergen Sauermann <juergen.sauerm...@t-online.de>: > Hi Fausto, > > I believe workspace files are generally not exchangeable between different > APL interpreters. > > In some cases there are commands that allow the exchange of workspaces. For > example )IN and )OUT > would allow the exchange of workspaces between IBM APL2, GNU APL, and > possibly others. Not sure > though if Dyalog supports )IN and )OUT. > > If you have a workspace from an interpreter that does not have such commands > then you normally > use monadic ⎕CR for obtaining a text representation of the APL functions in > the workspace. That > text representation can then be transferred either by writing it to a file > or cut-and-pasting it. There are > serious pitfalls in that process such as encoding differences and ⎕AV > differences. Even if the > transfer succeeds then the APL syntax might still differ. > > You might be lucky finding APL programs some place that generate the 2 ⎕TF > format of IBM APL2; > that format is implemented in GNU APL as well. > > Variables are handled similarly (2 ⎕TF handles both functions and > variables). > > I all cases except )IN and )OUT you will most likely need the interpreter > that has produced the workspace > in order to )LOAD the workspace file before you can convert it yo a > different format. > > /// Jürgen > > > On 04/24/2015 04:10 PM, Fausto Saporito wrote: > > Hello all, > > I'm trying to used the workspace XFRPC11.w3 (downloaded from APL wiki) > in order to transfer file from Dyalog APL to GNU-APL. > > When I try to load XFRPC11 I have an internal error. > > I suppose the 'w3' format is only for APL2000... correct ? > > Is there a way to use such method with GNU-APL too ? > > thanks, > Fausto > > > )copy XFRPC11.w3 > > Bad UTF8 sequence: 0xFC... at UTF8_string.cc:190 > > > ============================================================================== > > Assertion failed: 0 && "Internal error in UTF8_string::toUni()" > > in Function: toUni > > in file: UTF8_string.cc:191 > > > Call stack: > > > ---------------------------------------- > > -- Stack trace at UTF8_string.cc:191 > > ---------------------------------------- > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > 0xa @@@@ > > ======================================== > > > SI stack: > > > Depth: 0 > > Exec: 0x7fa06041fdc0 > > Safe ex: no > > Pmode: ◊ c > > PC: 0 > > ============================================================================== > > Assertion failed: idx < items_valid > > in Function: operator[] > > in file: ./Simple_string.hh:140 > > > Call stack: > > *** do_Assert() called recursively *** > > ============================================================================== > > *** immediate_execution() caught other exception *** > >