Path: utzoo!utgpu!cunews!fts1!atronx!rwm From: rwm@atronx.UUCP (Russell McOrmond) Newsgroups: comp.sys.amiga.tech Subject: Tags - How do they work. Message-ID: <53151.657181050@atronx.UUCP> Date: Mon Oct 29 00:17:30 1990 Followup-To: comp.sys.amiga.tech Well, it seems that I don't fully understand the concept of Tags. I am trying to make use of the 2.0 System() command, but my knowledge of Tags is presenting me with a problem. Here's a code sample. What obvious thing am I doing wrong ;-) #include #include #include main(argc, argv) int argc; char *argv[]; { FILE *outfile,*infile; int rc; if (!(outfile = fopen("tempout","w"))) { printf("error opening outfile\n"); exit(1); } if (!(infile = fopen("tempin","r"))) { printf("error opening infile\n"); fclose(outfile); exit(1); } rc = System(argv[1], ( SYS_Input, infile, SYS_Output, outfile, SYS_Asynch, FALSE, TAG_DONE ) ); printf("%d from %s\n",rc,argv[1]); fclose(infile); fclose(outfile); } --- 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: