Emulating IBM/APL []TF - Transfer Form
6 posts
• Page 1 of 1
Emulating IBM/APL []TF - Transfer Form
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).
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
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
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
Re: Emulating IBM/APL []TF - Transfer Form
Does this repObj function still exist in Dyalog APL/W-64 version 18.2 ?
- rex
- Posts: 12
- Joined: Sat Jun 10, 2023 10:49 pm
Re: Emulating IBM/APL []TF - Transfer Form
Hi Rex,
Yes, it exists in ⎕SE.Dyalog.Utils in current versions.
⎕se.Dyalog.Utils.repObj ⍳¨⍳4
(,1) (1 2) (1 2 3) (1 2 3 4)
Regards,
Vince
Yes, it exists in ⎕SE.Dyalog.Utils in current versions.
⎕se.Dyalog.Utils.repObj ⍳¨⍳4
(,1) (1 2) (1 2 3) (1 2 3 4)
Regards,
Vince
- Vince|Dyalog
- Posts: 440
- Joined: Wed Oct 01, 2008 9:39 am
Re: Emulating IBM/APL []TF - Transfer Form
Thank you , Vince. That works.
A newbie question: How would I have found this on my own?
I don't see it when I execute
A newbie question: How would I have found this on my own?
I don't see it when I execute
]-??
- rex
- Posts: 12
- Joined: Sat Jun 10, 2023 10:49 pm
Re: Emulating IBM/APL []TF - Transfer Form
Hi Rex,
That is a good question!
Dan provided the name, so you could search in an internet search engine for dyalog repobj.
That can lead to this page, which is a very good page for a new user to see in any case:
https://www.dyalog.com/getting-started/tips.htm
There are other resources on our website under Learning->Getting Started
https://www.dyalog.com/getting-started.htm
Regards,
Vince
That is a good question!
Dan provided the name, so you could search in an internet search engine for dyalog repobj.
That can lead to this page, which is a very good page for a new user to see in any case:
https://www.dyalog.com/getting-started/tips.htm
There are other resources on our website under Learning->Getting Started
https://www.dyalog.com/getting-started.htm
Regards,
Vince
- Vince|Dyalog
- Posts: 440
- Joined: Wed Oct 01, 2008 9:39 am
6 posts
• Page 1 of 1
Return to Migrating from other Systems
Who is online
Users browsing this forum: No registered users and 0 guests
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group