home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / apl / 1012 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.lang.apl
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!jato!csi!sam
  3. From: sam@csi.jpl.nasa.gov (Sam Sirlin)
  4. Subject: Re: apl*plus to IBM/apl2 conversion problem
  5. Message-ID: <1992Sep15.212531.4337@csi.jpl.nasa.gov>
  6. Originator: sam@kalessin
  7. Sender: usenet@csi.jpl.nasa.gov (Network Noise Transfer Service)
  8. Nntp-Posting-Host: kalessin
  9. Organization: Jet Propulsion Laboratory, Pasadena, CA
  10. References:  <5835@blue.cis.pitt.edu.UUCP>
  11. Date: Tue, 15 Sep 1992 21:25:31 GMT
  12. Lines: 26
  13.  
  14.  
  15. In article <5835@blue.cis.pitt.edu.UUCP>, gunner1+@pitt.edu (Jayant Rajgopal) writes:
  16. ...
  17. |> which were created on APL*PLUS (STSC, Inc.) into transfer files for
  18. |> use with the IBM APL2 system on my PC.  However, when I try to run
  19. |> programs in these, I'm running into a problem with a system variable
  20. |> "quad"TCNL which APL2 does not recognize.  I have no idea what this
  21. ...
  22. |> My question: is there any way that I can assign a suitable value to this
  23. |> system variable and save the same in the converted APL2 workspace so
  24. |> that I can use the workspace.  Or do I have to edit each of the programs
  25. |> in the workspace that uses this thing and remove it from them ?
  26.  
  27. quadTCNL is just the newline character, ASCII CR or 13 (0 origin).
  28. Since you're on a pc, you don't have to play with EBCIDIC. But you do
  29. have to edit all the functions. My guess (I don't know APL2) is you'll
  30. have to make up some variable name to use, say qtcnl, globally
  31. make it ASCII 13 (probably the 14'th element of quad AV), and replace
  32. all the quadTCNL's with qtcnl. I have heard of APL ws that will do
  33. that sort of thing for you and if I had to do alot of this I'd write
  34. my own - it's easy in STSC at least what with quad vr and quad ss. 
  35.  
  36. -- 
  37. Sam Sirlin
  38. Jet Propulsion Laboratory         sam@kalessin.jpl.nasa.gov
  39.  
  40.