fr:code:core:console
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fr:code:core:console [2011/07/01 17:51] – [Console] fredy123 | fr:code:core:console [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 21: | Ligne 21: | ||
Console.print(" | Console.print(" | ||
</ | </ | ||
+ | |||
+ | | ||
+ | ==== println ==== | ||
+ | Writes a line in the console. | ||
+ | A new line character is automatically added. | ||
+ | |||
+ | //Added in Actionaz 3.0.1.// | ||
+ | |||
+ | === Syntax === | ||
+ | <code javascript> | ||
+ | Console.println(text); | ||
+ | </ | ||
+ | |||
+ | === Arguments === | ||
+ | - text - (string) the text to write | ||
+ | |||
+ | === Returns === | ||
+ | * (object) this Console | ||
+ | |||
+ | === Example === | ||
+ | <code javascript> | ||
+ | Console.println(" | ||
+ | </ | ||
+ | |||
==== printWarning ==== | ==== printWarning ==== | ||
Ligne 39: | Ligne 63: | ||
Console.printWarning(" | Console.printWarning(" | ||
</ | </ | ||
+ | |||
+ | | ||
+ | ==== printlnWarning ==== | ||
+ | Writes a line in the console using a warning icon. | ||
+ | A new line character is automatically added. | ||
+ | |||
+ | //Added in Actionaz 3.0.1.// | ||
+ | |||
+ | === Syntax === | ||
+ | <code javascript> | ||
+ | Console.printlnWarning(text); | ||
+ | </ | ||
+ | |||
+ | === Arguments === | ||
+ | - text - (string) the text to write | ||
+ | |||
+ | === Returns === | ||
+ | * (object) this Console | ||
+ | |||
+ | === Example === | ||
+ | <code javascript> | ||
+ | Console.printlnWarning(" | ||
+ | </ | ||
+ | |||
==== printError ==== | ==== printError ==== | ||
Ligne 57: | Ligne 105: | ||
<code javascript> | <code javascript> | ||
Console.printError(" | Console.printError(" | ||
+ | </ | ||
+ | |||
+ | | ||
+ | | ||
+ | ==== printlnError ==== | ||
+ | Writes a line in the console using an error icon. | ||
+ | A new line character is automatically added. | ||
+ | |||
+ | //Added in Actionaz 3.0.1.// | ||
+ | |||
+ | === Syntax === | ||
+ | <code javascript> | ||
+ | Console.printlnError(text); | ||
+ | </ | ||
+ | |||
+ | === Arguments === | ||
+ | - text - (string) the text to write | ||
+ | |||
+ | === Returns === | ||
+ | * (object) this Console | ||
+ | |||
+ | === Example === | ||
+ | <code javascript> | ||
+ | Console.printlnError(" | ||
+ | </ | ||
+ | |||
+ | ==== clear ==== | ||
+ | Vide le contenu de la console. Ne fait rien lorsqu' | ||
+ | |||
+ | //Ajouté dans Actionaz 3.9.0.// | ||
+ | |||
+ | === Syntax === | ||
+ | <code javascript> | ||
+ | Console.clear(); | ||
+ | </ | ||
+ | |||
+ | === Returns === | ||
+ | * (object) cette Console | ||
+ | |||
+ | === Example === | ||
+ | <code javascript> | ||
+ | Console.clear(); | ||
</ | </ |
fr/code/core/console.1309542674.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)