WriteLine
Declaring type: Console
Module: System
Assembly: System.Runtime.dll
Source file: Console.rvn
Overloads / Variants
WriteLine
static func WriteLine() -> ()
Source file: Console.rvn
Writes an empty line to stdout and flushes it.
Return value
()
WriteLine
static func WriteLine(format: string, arg0: object?, arg1: object?, arg2: object?) -> ()
Source file: Console.rvn
Writes composite text followed by a newline.
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
()
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
WriteLine
static func WriteLine(format: string, arg0: object?, arg1: object?) -> ()
Source file: Console.rvn
Writes composite text followed by a newline.
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
()
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
WriteLine
static func WriteLine(format: string, arg0: object?) -> ()
Source file: Console.rvn
Writes composite text followed by a newline.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | Composite format text; see String.Format. |
arg0 |
Object? | Format arguments; null values produce empty text. |
Return value
()
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
WriteLine
static func WriteLine(format: string, params arguments: object?[]) -> ()
Source file: Console.rvn
Writes composite text followed by a newline.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | Composite format text; see String.Format. |
arguments |
Object?[] | Format arguments; null values produce empty text. |
Return value
()
Remarks
Uses String.Format syntax, grapheme alignment and limits. Formats before writing, so format errors emit no partial output.
WriteLine
static func WriteLine(value: bool) -> ()
Source file: Console.rvn
Writes True or False followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Boolean | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: byte) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Byte | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: Character) -> ()
Source file: Console.rvn
Parameters
| Name | Type | Description |
|---|---|---|
value |
Character |
Return value
()
WriteLine
static func WriteLine(value: IntPtr) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
IntPtr | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: long) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Int64 | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: object?) -> ()
Source file: Console.rvn
Writes the virtual ToString representation followed by LF, or an empty line for null.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Object? | Object to display. Value types may be boxed when using this fallback. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors. Does not add formatting support missing from the underlying type.
WriteLine
static func WriteLine(value: sbyte) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
SByte | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: short) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Int16 | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: uint) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
UInt32 | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: UIntPtr) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
UIntPtr | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: ulong) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
UInt64 | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value: ushort) -> ()
Source file: Console.rvn
Writes the invariant decimal integer followed by LF without boxing.
Parameters
| Name | Type | Description |
|---|---|---|
value |
UInt16 | Value to write. |
Return value
()
Remarks
Flushes stdout before returning. Output failure is a terminal Fault; use Console.Out for recoverable errors.
WriteLine
static func WriteLine(value0: int) -> ()
Source file: Console.rvn
Writes a decimal integer followed by LF 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.
WriteLine
static func WriteLine(value0: string) -> ()
Source file: Console.rvn
Writes text followed by LF 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.