bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
OUT Statement Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
OUT sends a byte to a hardware I/O port.
 
OUT port, data%
 
Usage Notes
    ■ The OUT statement complements the INP function, which returns the
      byte read from a hardware I/O port.
    ■ OUT and INP give a BASIC program direct control over the system
      hardware through the I/O ports. OUT and INP must be used carefully
      because they directly manipulate the system hardware.