User Tools

Site Tools


en:code:core:stdio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:code:core:stdio [2011/04/20 20:42] – code:core:stdio renamed to en:code:core:stdio jmgren:code:core:stdio [2021/02/13 11:23] (current) – external edit 127.0.0.1
Line 20: Line 20:
 <code javascript> <code javascript>
 Stdio.print("Hello World!"); Stdio.print("Hello World!");
 +</code>
 +
 +==== println ====
 +Writes a line to the standard output.
 +A new line character is automatically added.
 +
 +//Added in Actionaz 3.0.1.//
 +
 +=== Syntax ===
 +<code javascript>
 +Stdio.println(text);
 +</code>
 +
 +=== Arguments ===
 +  - text - (string) the text to write
 +
 +=== Returns ===
 +  * (Stdio) this Stdio
 +
 +=== Example ===
 +<code javascript>
 +Stdio.println("Hello World!");
 </code> </code>
  
Line 39: Line 61:
 <code javascript> <code javascript>
 Stdio.printWarning("This is important!"); Stdio.printWarning("This is important!");
 +</code>
 +
 +==== 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 ===
 +<code javascript>
 +Stdio.printlnWarning(text);
 +</code>
 +
 +=== Arguments ===
 +  - text - (string) the text to write
 +
 +=== Returns ===
 +  * (Stdio) this Stdio
 +
 +=== Example ===
 +<code javascript>
 +Stdio.printlnWarning("This is important!");
 </code> </code>
  
Line 58: Line 102:
 <code javascript> <code javascript>
 Stdio.printError("This is critical!"); Stdio.printError("This is critical!");
 +</code>
 +
 +==== 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 ===
 +<code javascript>
 +Stdio.printlnError(text);
 +</code>
 +
 +=== Arguments ===
 +  - text - (string) the text to write
 +
 +=== Returns ===
 +  * (Stdio) this Stdio
 +
 +=== Example ===
 +<code javascript>
 +Stdio.printlnError("This is critical!");
 </code> </code>
en/code/core/stdio.1303332174.txt.gz · Last modified: 2021/02/13 11:23 (external edit)