Miscellaneous

identifyexecutor

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

Sintaxe

identifyexecutor(): string | string

Retornos

NomeTipoDescrição
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

Descrição

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

Chame sem parametros. A funcao le o contexto necessario do estado atual da runtime.

Retorna executorName (string), executorVersion (string). Use a tabela de retornos para separar valores bem sucedidos, nil e erros recuperaveis.

Exemplo

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

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