home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / fortran / 4845 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  482 b 

  1. Path: sparky!uunet!pipex!warwick!uknet!edcastle!festival!tmw
  2. From: tmw@festival.ed.ac.uk (Tom WRight)
  3. Newsgroups: comp.lang.fortran
  4. Subject: using system and error checking
  5. Message-ID: <29827@castle.ed.ac.uk>
  6. Date: 23 Dec 92 10:39:15 GMT
  7. Sender: nntpusr@castle.ed.ac.uk
  8. Lines: 13
  9.  
  10. I've written some fortran code (F77) using system
  11.  
  12. call system('rcp file host:')
  13.  
  14. Is there any way of checking the return error code
  15.  
  16. I've tried 
  17.  
  18. ier=system('rcp file host:')
  19.  
  20. but to no avail
  21.  
  22. thanks
  23.