title | summary | date |
---|---|---|
interpreter_append_output |
指定したデータを標準データ出力に書き込みます。 |
2022-01-16 |
名前空間: Alice.Interpreter
アセンブリ: Losetta.dll
ソースコード: Alice.Interpreter.cs
指定したオブジェクトの文字列表現を標準データ出力に書き込みます。
namespace Alice.Interpreter;
public bool interpreter_append_data(variable item,bool isNewLine=false);
引数 | |
---|---|
item |
書き込むオブジェクト。 |
isNewLine |
書き込み後、標準出力に現在の環境で定義されている改行文字を書き込むかどうかを表す値。規定値はfalse です。 |
戻り値 | |
---|---|
bool |
出力が受理された場合はtrue 、それ以外の場合はfalse 。 |
???note "対応: AliceScript GM以降" |対応|| |---|---| |AliceScript|GM、2.0、2.1、2.2、2.3、3.0| |AliceSister|GM、2.0、2.1、2.2、2.3、3.0| |Losetta|0.8、0.9、0.10|
次の例では、標準データ出力にテキストを書き込みます。
using Alice.Interpreter;
interpreter_append_output("Hello,World!");