interpreter_append_output

指定したオブジェクトの文字列表現を標準データ出力に書き込みます。


taiseiue | 2022-01-16

定義

名前空間: Alice.Interpreter
アセンブリ: Losetta.dll
ソースコード: Alice.Interpreter.cs

interpreter_append_data(variable,bool)

指定したオブジェクトの文字列表現を標準データ出力に書き込みます。

AliceScript
namespace Alice.Interpreter;
public bool interpreter_append_data(variable item,bool isNewLine=false);
引数
item 書き込むオブジェクト。
isNewLine 書き込み後、標準出力に現在の環境で定義されている改行文字を書き込むかどうかを表す値。既定値はfalseです。
戻り値
bool 出力が受理された場合はtrue、それ以外の場合は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

次の例では、標準データ出力にテキストを書き込みます。

AliceScript
using Alice.Interpreter;

interpreter_append_output("Hello,World!");