en:code:core:stdio
This is an old revision of the document!
Table of Contents
Stdio
Functions
Writes a line to the standard output.
Syntax
Stdio.print(text);
Arguments
- text - (string) the text to write
Returns
- (object) this Stdio
Example
Stdio.print("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
- (object) 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
- text - (string) the text to write
Returns
- (object) this Stdio
Example
Stdio.printError("This is critical!");
en/code/core/stdio.1295214860.txt.gz · Last modified: 2021/02/13 11:23 (external edit)