home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / apl / 962 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.5 KB  |  42 lines

  1. Newsgroups: comp.lang.apl
  2. Path: sparky!uunet!gatech!gsusgi1.gsu.edu!gsusgi1.gsu.edu!qmdbms
  3. From: qmdbms@gsusgi2.gsu.edu (Brian Schott)
  4. Subject: J5.1 question
  5. Message-ID: <qmdbms.714508731@gsusgi1.gsu.edu>
  6. Organization: Georgia State University
  7. Date: Sat, 22 Aug 1992 18:38:51 GMT
  8. Lines: 32
  9.  
  10.  
  11. On the Silicon graphics machine using J5.1, I am having a problem and
  12. would like help. I have defined t below and put it into my profile.js
  13. file.  It reads in fine.
  14.  
  15. t =. '(<''out''&,y.) 0!:2 <''sgi''&,y.' ; '(<''out''&,y.) 0!:2 <''sgipend'''
  16.  
  17. If I "open" t with ">" it looks as follows.  
  18.    >t
  19. (<'out'&,y.) 0!:2 <'sgi'&,y.
  20. (<'out'&,y.) 0!:2 <'sgipend'
  21.  
  22. If I run t as follows, the session stops in the middle, hung up.
  23. t : '' 'logic'
  24.  
  25. But if I do the same thing as t does, but manually, as I show next, the
  26. session runs to completion and all is well. 
  27. (<'outlogic') 0!:2 <'sgilogic'
  28. (<'outlogic') 0!:2 <'sgipend'
  29.  
  30.  
  31. Does anyone see a mistake?  To be more specific when the session hangs
  32. up, it hangs up after completing the first line in t, somewhere deep
  33. into the second line of t.  Furthermore the output from the first line
  34. of t is short and sweet, but the output of the second line should be 
  35. 380 lines, but none shows in the file 'outlogic'. 
  36.  
  37. -- 
  38. Brian Schott/Decision Sciences Dept.             qmdbms@gsusgi2.gsu.edu
  39. College of Business Administration                         404-651-4070
  40. Georgia State University                  interests: approx. reasoning,
  41. Atlanta, Georgia USA 30303-3083     (B=)       decision support systems
  42.