Cú pháp
identifyexecutor(): string | stringGiá trị trả về
| Tên | Kiểu | Mô tả |
|---|---|---|
executorName | string | Executor name string. |
executorVersion | string | Executor version string. |
Mô tả
Returns two strings: the executor name followed by the executor version.
Goi khong can parameter. Function doc context can thiet tu runtime state hien tai.
Tra ve executorName (string), executorVersion (string). Dung bang returns de tach gia tri thanh cong, ket qua nil va loi co the xu ly.
Ví dụ
Read Real's executor name and version as two return values.
local name, version = identifyexecutor()
print(name, version)