🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6212

Re: Tags - How do they work.

#6212
From: Russell McOrmond
Date: Tue, 30 Oct 1990 21:59
50 lines
1869 bytes
In a message posted on 30 Oct 90 19:11:14 GMT,
ken@cbmvax.commodore.com (Ken Farinsky - CATS) wrote:
KF-C>Looks like an extra set of parenthesis.  Try:

I tried the Below First, and only tried the above after the compiler (SAS 5.10)
gave me a pile of errors.

I have since tried it with Open()  (struct FileHandle), and still no go. (P.S.
This may seem like a silly question, but what function is used to Close a file
opened with Open()  Does the normal level 1 close() work?)

KF-C>rc = System(argv[1],
KF-C>            SYS_Input, infile,
KF-C>            SYS_Output, outfile,
KF-C>            SYS_Asynch, FALSE,    
KF-C>            TAG_DONE
KF-C>            );

Anyways, the program seems to run Syncronously, with input and output set to
the consol.

I am using the following to test:

	
#include <stdio.h>
main(argc, argv)
	int argc;
	char *argv[];
{ 
   int c;
   while ((c=getchar())!=EOF)
       putchar(c);
}



KF-C>Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines
KF-C>uucp: ken@cbmvax.commodore.com   or  ...{uunet,rutgers}!cbmvax!ken
KF-C>bix:  kfarinsky

Any chance you could drop out an example that Does work?  Am I possibly including
the wrong includes?  Has anyone else using SAS tried System()?

---
  Opinions expressed in this message are my Own.  My Employer does not even
know what these networks ARE.

  Russell McOrmond   rwm@atronx.UUCP   {fts1,alzabo}!atronx!rwm 
  FidoNet 1:163/109  Net Support: (613) 230-2282
  Amiga-Fidonet Support  1:1/109
Technical Details
Message-ID: <53246.657345554@atronx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!fts1!atronx!rwm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!fts1!atronx!rwm
From: rwm@atronx.UUCP (Russell McOrmond)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Tags - How do they work.
Message-ID: <53246.657345554@atronx.UUCP>
Date: Tue Oct 30 21:59:14 1990
Followup-To: comp.sys.amiga.tech
In-Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS)