en:code:core:stdio
Table of Contents
Stdio
Functions
Writes a line to the standard output.
Syntax
Stdio.print(text);
Arguments
- 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
- 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
- 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
- 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
- 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
- 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