Emulating IBM/APL []TF - Transfer Form

How to move APL code to Dyalog

Emulating IBM/APL []TF - Transfer Form

Postby gropi on Tue Jun 15, 2010 4:55 pm

Can someone provide the source code to emulate Quad TF under Dyalog APL?
This IBM APL system function returns the APL source code as a string to recreate a variable (name specified as a string parameter).
Hagen Großpietsch; Nürnberg, Germany
gropi
 
Posts: 1
Joined: Sun Feb 28, 2010 1:47 pm

Re: Emulating IBM/APL []TF - Transfer Form

Postby DanB|Dyalog on Thu Jun 17, 2010 5:00 pm

Dyalog provides tools to migrate code from one APL vendor to another and even from one version of Dyalog to another.
There exists a function that will return a string that will recreate a variable given as argument.
It has limitations and forms, for example, cannot be recreated.
Is this what you are looking for? If so look into tools\migrate: you'll find ws v10_to_v11 which contains fn xfr.repObj which you can use like this:

xfr.repObj ⍳¨⍳4
(,1) (1 2) (1 2 3) (1 2 3 4)

hope this helps
/Dan
DanB|Dyalog
 


Return to Migrating from other Systems

Who is online

Users browsing this forum: No registered users and 0 guests