home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / atari / st / 19063 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  715 b 

  1. Path: sparky!uunet!portal!cup.portal.com!MikeD
  2. From: MikeD@cup.portal.com (Michael Robert Delany)
  3. Newsgroups: comp.sys.atari.st
  4. Subject: Re: Serial Connection
  5. Message-ID: <72664@cup.portal.com>
  6. Date: Wed, 30 Dec 92 20:22:53 PST
  7. Organization: The Portal System (TM)
  8. Distribution: world
  9. References: Re: Serial Connection <H.ea.&N7AagtXvVU@yonder.equinox.gen.nz>
  10. Lines: 15
  11.  
  12. They are written to in the same manner as disk files.
  13.  
  14. REWRITE(file, filename);
  15.  
  16. where file is of type TEXT and filename is a filename on the disk, OR 
  17. one of the following: PRN: AUX: CON: MIDI:
  18.  
  19. For example, to write 'HELLO' to the serial port,
  20. file: TEXT;
  21.  
  22. REWRITE(file, 'AUX:');
  23. WRITELN(file, 'hello');
  24.  
  25.  
  26. I hope that answered the question.
  27.