Assembly Language Help (alang.hlp) (Table of Contents; 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.
@Write Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @Write buffer, length [,[handle] [,segment]]
 
  Summary:   Writes data to a file or device
 
  Arguments: <buffer>      Offset of buffer where data is stored. Must
                           be an offset address.
 
             <length>      Length of data in bytes.
 
             <handle>      File or device handle; if none given, screen
                           (handle 1) is assumed.
 
             <segment>     Segment of address string; DS if not given.
 
  Returns:   If carry: clear, bytes written in AX
 
  Modifies:  AX, DX, BX, CX; DS if segment changed
 
  See also:  Int 21h Function 40h, @Read
                                    -♦-