Write
Outputs a comma-separated list of values to the screen
Syntax
`
Write [ expressionlist ]
`
Parameters
`expressionlist`
Comma-separated list of items to print
Description
Outputs the values in `expressionlist` to the screen. The values are separated with commas, and strings are enclosed in double quotes. Numeric values greater than zero (0) and less than one (1) are prefixed with a zero (0) if none is given (e.g., a value of `-.123` will be output as `-0.123`). Extra zeroes are truncated.
If no expression list is given, Write outputs a carriage return.
Example
`
Dim i As Integer = 10
Dim d As Double = 123.456
Dim s As String = "text"
Write 123, "text", -.45600
Write
Write i, d, s
`
will produce the output:

    123,"text",-0.456

    10,123.456,"text"

Differences from QB

- None

See also

- `Write #`
- `Print`