Składnia
identifyexecutor(): string | stringZwroty
| Nazwa | Typ | Opis |
|---|---|---|
executorName | string | Executor name string. |
executorVersion | string | Executor 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)