Console

rconsoleprint

Writes zero or more values to the current Windows console with stdout without changing the console text attribute.

Syntax

rconsoleprint(...values?: ..any)
Aliases consoleprintrconsolewriteconsolewrite

Arguments

NameTypeDescription
...values?..anyOptional values. If a console exists, each value is converted to strings and joined with tab characters before writing.

Description

Writes zero or more values to the current Windows console with stdout without changing the console text attribute. Values are converted to strings and separated with tabs. The function does not add a newline. If no console window exists, the call returns without converting or writing anything.

Call it with 1 parameter(s): ...values. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Write values to the current Windows console without adding a newline.

rconsolecreate()
rconsoleprint("Loading", "
")
rconsoleprint("User", "	", 42, "
")