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/06/30 23:49] – [printWarning] fredy123 | fr:code:core:console [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Console ====== | ====== Console ====== | ||
- | Lorsque vous utilisez cet objet, Actionaz | + | Lorsque vous utilisez |
===== Fonctions ===== | ===== Fonctions ===== | ||
Ligne 22: | 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 40: | 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 50: | Ligne 97: | ||
=== Arguments === | === Arguments === | ||
- | - Texte - (string) le texte à écrire | + | |
=== Renvoie === | === Renvoie === | ||
Ligne 58: | 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.1309477779.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)