Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: nyu notesfiles V1.1 4/1/84; site ur-univax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!ur-univax!pier From: pier@ur-univax.UUCP Newsgroups: net.micro.pc Subject: COM2 and Turbo Pascal Message-ID: <1200036@ur-univax.UUCP> Date: Wed, 14-Aug-85 21:17:00 EDT Article-I.D.: ur-univa.1200036 Posted: Wed Aug 14 21:17:00 1985 Date-Received: Sun, 18-Aug-85 23:31:49 EDT Organization: University of Rochester: Computing Center Lines: 31 Nf-ID: #N:ur-univax:1200036:000:762 Nf-From: ur-univax!pier Aug 14 21:17:00 1985 I am trying to program my modem from a Turbo Pascal program. The modem is configured as COM2. So I open a file as COM2 and send the modem commands. Well the modem does not seem to get the commands. I tried the same thing in basic using "open COM2: as #1 " and it works just fine. I have the feeling that an open statement in BASIC does something that an ASSIGN and REWRITE in Turbo Pascal does do. But the question is what? Does anybody know what I should do in Pascal to get the equivalent of a BASIC OPEN statement with all its options? Or is it a problem with Turbo and the communication port. I don't know how to check that characters, if any, get actually sent to COM2. Any help appreciated. Thanks. Pierre Darmon University of Rochester