User Tools

Site Tools


Action unknown: siteexport_addpage
en:code:core:stdio

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!");

println

Writes a line to the standard output. A new line character is automatically added.

Added in Actionaz 3.0.1.

Syntax

Stdio.println(text);

Arguments

  1. text - (string) the text to write

Returns

  • (Stdio) this Stdio

Example

Stdio.println("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!");

printlnWarning

Writes a line in the standard output using a warning prefix. A new line character is automatically added.

Added in Actionaz 3.0.1.

Syntax

Stdio.printlnWarning(text);

Arguments

  1. text - (string) the text to write

Returns

  • (Stdio) this Stdio

Example

Stdio.printlnWarning("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!");

printlnError

Writes a line in the standard output using an error prefix. A new line character is automatically added.

Added in Actionaz 3.0.1.

Syntax

Stdio.printlnError(text);

Arguments

  1. text - (string) the text to write

Returns

  • (Stdio) this Stdio

Example

Stdio.printlnError("This is critical!");
en/code/core/stdio.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1