home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12912 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  633 b 

  1. Path: sparky!uunet!portal!cup.portal.com!Tony-Preston
  2. From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: 1.2, 1.3, and 2.0 question
  5. Message-ID: <65001@cup.portal.com>
  6. Date: Mon, 31 Aug 92 07:07:02 PDT
  7. Organization: The Portal System (TM)
  8. References: <64890@cup.portal.com> <paulk.1av6@terapin.com>
  9. Lines: 9
  10.  
  11. Why not just:
  12.  
  13.    BPTR nil;
  14.    nil = Open("NIL:",MODE_OLDFILE);
  15.    Execute(Command,nil,nil);
  16.   
  17.  This way I get a valid file pointer for both 1.2/1.3/2.0 and don't
  18.  have to worry.  At least I am trying this solution(btw, I Close(nil);
  19.  after the Execute returns).
  20.