advr.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.
WRITE Statement Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 WRITE [expressionlist]
 
 Usage Notes
   ■ Output from a WRITE statement cannot be directed to a form. Any
     reference to WRITE when forms are showing causes Visual Basic to
     generate an error. Use the HIDE method to hide any visible forms or
     controls before executing this statement. See: HIDE Method
 
   ■ If expressionlist is omitted, a blank line is written; if included,
     the values of the expressions are written to the screen.
 
   ■ The expressions in the list can be numeric and/or string expressions.
     They must be separated by commas.
 
   ■ When the printed items are written, each item is separated from the
     last by a comma.
 
   ■ Printed strings are delimited by double quotation marks (""). After the
     last item in the list is printed, Visual Basic inserts a carriage
     return-linefeed sequence.
 
   ■ The WRITE statement writes numeric values without leading or trailing
     spaces.