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.
WRITE Statement Details
  ◄Syntax►  ◄Details►  ◄Example►                 ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
WRITE sends data to the screen.
 
WRITE [expressionlist]
 
Usage Notes
    ■ If the argument expressionlist is omitted, a blank line is written.
      If expressionlist is included, the values of the expressions are
      written to the screen.
    ■ The expressions in the list may 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, BASIC inserts a carriage-return-
      and-line-feed sequence.
    ■ The WRITE statement writes numeric values without leading or trailing
      spaces.