Miscellaneous

getexecutorname

Returns Real's executor name as one string.

Sintaks

getexecutorname(): string

Return

NamaTipeDeskripsi
executorNamestringExecutor name string.

Deskripsi

Returns Real's executor name as one string.

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

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

Contoh

Read the executor name string exposed by Real.

local name = getexecutorname()
print(name)