Newsgroups: comp.lang.apl
Path: watmath!watserv2.uwaterloo.ca!torn!cs.utexas.edu!sun-barr!ames!haven.umd.edu!uunet!elroy.jpl.nasa.gov!jato!csi!sam
From: sam@csi.jpl.nasa.gov (Sam Sirlin)
Subject: Re: apl*plus to IBM/apl2 conversion problem
Message-ID: <1992Sep15.212531.4337@csi.jpl.nasa.gov>
Originator: sam@kalessin
Sender: usenet@csi.jpl.nasa.gov (Network Noise Transfer Service)
Nntp-Posting-Host: kalessin
Organization: Jet Propulsion Laboratory, Pasadena, CA
References:  <5835@blue.cis.pitt.edu.UUCP>
Date: Tue, 15 Sep 1992 21:25:31 GMT
Lines: 26


In article <5835@blue.cis.pitt.edu.UUCP>, gunner1+@pitt.edu (Jayant Rajgopal) writes:
...
|> which were created on APL*PLUS (STSC, Inc.) into transfer files for
|> use with the IBM APL2 system on my PC.  However, when I try to run
|> programs in these, I'm running into a problem with a system variable
|> "quad"TCNL which APL2 does not recognize.  I have no idea what this
...
|> My question: is there any way that I can assign a suitable value to this
|> system variable and save the same in the converted APL2 workspace so
|> that I can use the workspace.  Or do I have to edit each of the programs
|> in the workspace that uses this thing and remove it from them ?

quadTCNL is just the newline character, ASCII CR or 13 (0 origin).
Since you're on a pc, you don't have to play with EBCIDIC. But you do
have to edit all the functions. My guess (I don't know APL2) is you'll
have to make up some variable name to use, say qtcnl, globally
make it ASCII 13 (probably the 14'th element of quad AV), and replace
all the quadTCNL's with qtcnl. I have heard of APL ws that will do
that sort of thing for you and if I had to do alot of this I'd write
my own - it's easy in STSC at least what with quad vr and quad ss. 

-- 
Sam Sirlin
Jet Propulsion Laboratory         sam@kalessin.jpl.nasa.gov

