Xref: utzoo comp.sys.amiga.programmer:72 comp.sys.amiga.tech:17708 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!samsung!crackers!transfer!lectroid!jjmhome!sinanju!marko From: marko@sinanju.UUCP (Mark Moore) Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.tech Subject: Another try. What's wrong with this open? Message-ID: Date: 12 Jan 91 18:39:04 GMT Lines: 32 Forgot to change some things when I pulled the example out of my application. Sorry. Why won't this Open work. MODE_OLDFILE works, but then WaitForChar doesn't work with the resulting FileHandle. Please send mail. I don't get these groups on my home machine. ------------------------------------------------------------------------------ #include #include extern struct FileHandle *Open(); main() { struct FileHandle *fd; if (fd = Open("SER:", MODE_READWRITE)) Close(fd); else printf("Failed! As usual.\n "); } ------------------------------------------------------------------------------- | Mark Moore | "Well, what about Captain Zero?" | | marko@sinanju.uucp | -Sam Donaldson on the David Brinkley | | ..!harvard!m2c!jjmhome!sinanju!marko | show discussing terrorism. | -------------------------------------------------------------------------------