Miscellaneous

identifyexecutor

Returns two strings: the executor name followed by the executor version.

構文

identifyexecutor(): string | string

戻り値

名前説明
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

説明

Returns two strings: the executor name followed by the executor version.

パラメータなしで呼び出します。関数は現在の runtime 状態から必要な context を読み取ります。

executorName (string), executorVersion (string) を返します。戻り値表を使って成功値、nil 結果、回復可能なエラーを分けて扱ってください。

Read Real's executor name and version as two return values.

local name, version = identifyexecutor()
print(name, version)