Miscellaneous

identifyexecutor

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

Söz dizimi

identifyexecutor(): string | string

Dönüşler

AdTipAçıklama
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

Açıklama

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

Parametresiz cagir. Fonksiyon gerekli contexti mevcut runtime durumundan okur.

executorName (string), executorVersion (string) dondurur. Basarili degerleri, nil sonuclari ve toparlanabilir hatalari ayirmak icin return tablosunu kullan.

Örnek

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

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