home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / forth / 4010 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.7 KB

  1. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!pitt!willett!ForthNet
  2. From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie)
  3. Newsgroups: comp.lang.forth
  4. Subject: Help for F-PC and TCOM
  5. Message-ID: <4277.UUL1.3#5129@willett.pgh.pa.us>
  6. Date: 27 Jan 93 11:27:56 GMT
  7. Organization: EIEI-U
  8. Lines: 38
  9.  
  10. Category 7,  Topic 35
  11. Message 32        Wed Jan 27, 1993
  12. B.SUTTON1 [Brian]            at 00:12 EST
  13.  
  14.   >  -----via CRS Premium Bulletin Board -
  15.   >  USR Dual Standard 16.8K  (416) 629-7000
  16.  
  17.   >  Date: 01-10-93 (12:15)
  18.   >    To: ALL
  19.   >  From: M SIMON
  20.   >  Subj: PROGRAMMING PROBLEM FPC
  21.  
  22.   >  I tried the following program which I cribbed from the
  23.   >  files included with FPC (PDP-8 stuff). It does not open a
  24.   >  file which is known to reside in the same directory as
  25.   >  FPC. No error message is returned. HOPEN indicates
  26.   >  success opening the file. I am stumped.
  27.  
  28. It worked on my computer.  I suspect that you are using the
  29.  .FILES word to see if it was opened; it wouldn't show up there
  30.  with the code you use.  It actually is opened though, if you
  31.  execute the following code you'll get the DOS handle:
  32.  
  33.     ofile >hndle c@ .
  34.  
  35. What you might try is substituting $HOPEN for HOPEN in your
  36.  OPEN_OFILE definition which will put the handle in the current
  37.  SEQHANDLE location (and subsequently show up when you .FILES);
  38.  but there's really no need if you use OFILE to access it and
  39.  don't need to reset the input buffer and close a previous
  40.  file.
  41.  
  42.  
  43. -----
  44. This message came from GEnie via willett.  You *cannot* reply to the author
  45. using e-mail.  Please post a follow-up article, or use any instructions
  46. the author may have included (USMail addresses, telephone #, etc.).
  47. Report problems to: dwp@willett.pgh.pa.us
  48.