interpreter_consts

現在のインタプリタに登録されているグローバル定数名を列挙します。


taiseiue | 2021-11-19

定義

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

interpreter_consts()

現在のインタプリタに登録されているグローバル定数名を列挙します。

AliceScript
namespace Alice.Interpreter;
public string[] interpreter_consts();
戻り値
string[] 現在のインタプリタに登録されているグローバル定数の名前を含む配列。

対応
AliceScript RC1、RC2、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;

var ns = interpreter_consts();