Write
Declaring type: Console
Module: System
Assembly: System.Runtime.dll
Source file: Console.rvn
Overloads / Variants
Write
static func Write(format: string, arg0: object?, arg1: object?, arg2: object?) -> ()
Source file: Console.rvn
Writes composite text.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | Composite format text; see String.Format. |
arg0 |
Object? | Format arguments; null values produce empty text. |
arg1 |
Object? | Format arguments; null values produce empty text. |
arg2 |
Object? | Format arguments; null values produce empty text. |
Return value
()
Completion of output and flush.
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
Write
static func Write(format: string, arg0: object?, arg1: object?) -> ()
Source file: Console.rvn
Writes composite text.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | Composite format text; see String.Format. |
arg0 |
Object? | Format arguments; null values produce empty text. |
arg1 |
Object? | Format arguments; null values produce empty text. |
Return value
()
Completion of output and flush.
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
Write
static func Write(format: string, arg0: object?) -> ()
Source file: Console.rvn
Writes composite text.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | Composite format text; see String.Format. |
arg0 |
Object? | Format arguments; null values produce empty text. |
Return value
()
Completion of output and flush.
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
Write
static func Write(format: string, params arguments: object?[]) -> ()
Source file: Console.rvn
Writes composite text.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | Composite format text; see String.Format. |
arguments |
Object?[] | Format arguments; null values produce empty text. |
Return value
()
Completion of output and flush.
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
Write
static func Write(value0: int) -> ()
Source file: Console.rvn
Returns a Task; await completion. Writes a decimal integer without a line ending to stdout.
Parameters
| Name | Type | Description |
|---|---|---|
value0 |
Int32 | Value to write. |
Return value
()
Remarks
Flushes before returning. Output failure is a terminal Fault. For recoverable output errors, use Console.Out. Write(string) is bounded to 65536 UTF-8 bytes; existing WriteLine overloads retain their prior behavior.
Write
static func Write(value0: string) -> ()
Source file: Console.rvn
Returns a Task; await completion. Writes text without a line ending to stdout.
Parameters
| Name | Type | Description |
|---|---|---|
value0 |
String | Value to write. |
Return value
()
Remarks
Flushes before returning. Output failure is a terminal Fault. For recoverable output errors, use Console.Out. Write(string) is bounded to 65536 UTF-8 bytes; existing WriteLine overloads retain their prior behavior.