User Tools

Site Tools


en:code:core:stdio

This is an old revision of the document!


Stdio

Functions

print

Writes a line to the standard output.

Syntax

Stdio.print(text);

Arguments

  1. text - (string) the text to write

Returns

  • (Stdio) this Stdio

Example

Stdio.print("Hello World!");

printWarning

Writes a line in the standard output using a warning prefix.

Syntax

Stdio.printWarning(text);

Arguments

  1. text - (string) the text to write

Returns

  • (Stdio) this Stdio

Example

Stdio.printWarning("This is important!");

printError

Writes a line in the standard output using an error prefix.

Syntax

Stdio.printError(text);

Arguments

  1. text - (string) the text to write

Returns

  • (Stdio) this Stdio

Example

Stdio.printError("This is critical!");
en/code/core/stdio.1303332174.txt.gz · Last modified: 2021/02/13 11:23 (external edit)