home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!MikeD
- From: MikeD@cup.portal.com (Michael Robert Delany)
- Newsgroups: comp.sys.atari.st
- Subject: Re: Serial Connection
- Message-ID: <72664@cup.portal.com>
- Date: Wed, 30 Dec 92 20:22:53 PST
- Organization: The Portal System (TM)
- Distribution: world
- References: Re: Serial Connection <H.ea.&N7AagtXvVU@yonder.equinox.gen.nz>
- Lines: 15
-
- They are written to in the same manner as disk files.
-
- REWRITE(file, filename);
-
- where file is of type TEXT and filename is a filename on the disk, OR
- one of the following: PRN: AUX: CON: MIDI:
-
- For example, to write 'HELLO' to the serial port,
- file: TEXT;
-
- REWRITE(file, 'AUX:');
- WRITELN(file, 'hello');
-
-
- I hope that answered the question.
-