Miscellaneous

identifyexecutor

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

Składnia

identifyexecutor(): string | string

Zwroty

NazwaTypOpis
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

Opis

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

Wywolaj bez parametrow. Funkcja czyta potrzebny kontekst z aktualnego stanu runtime.

Zwraca executorName (string), executorVersion (string). Uzyj tabeli zwrotow, aby oddzielic wartosci sukcesu, wyniki nil i bledy do obsluzenia.

Przykład

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

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