interpreter_append_output
指定したデータを標準出力に書き込みます。
定義¶
名前空間: Alice.Interpreter
アセンブリ: Losetta.dll
ソースコード: Alice.Interpreter.cs
interpreter_append_output(variable,bool)¶
指定したオブジェクトの文字列表現を標準出力に書き込みます。print関数やwrite関数は本質的にこの関数の薄いラッパーです。
AliceScript
namespace Alice.Interpreter;
public void interpreter_append_output(variable item,bool isNewLine=false);
引数 | |
---|---|
item |
書き込むオブジェクト。 |
isNewLine |
書き込み後、標準出力に現在の環境で定義されている改行文字を書き込むかどうかを表す値。既定値はfalse です。 |
対応 | |
---|---|
AliceScript | GM、2.0、2.1、2.2、2.3、3.0、4 |
AliceSister | GM、2.0、2.1、2.2、2.3、3.0、4 |
Losetta | 0.8、0.9、0.10、0.11 |
例¶
次の例では、標準出力にテキストを書き込みます。