Miscellaneous

identifyexecutor

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

Sintaks

identifyexecutor(): string | string

Return

NamaTipeDeskripsi
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

Deskripsi

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

Panggil tanpa parameter. Fungsi membaca context yang dibutuhkan dari status runtime saat ini.

Mengembalikan executorName (string), executorVersion (string). Gunakan tabel returns untuk memisahkan nilai sukses, hasil nil, dan error yang bisa dipulihkan.

Contoh

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

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