Documentación de Real

Miscellaneous

identifyexecutor

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

Sintaxis

identifyexecutor(): string | string

Retornos

NombreTipoDescripción
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

Descripción

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

Llamalo sin parametros. La funcion lee el contexto necesario desde el estado actual de runtime.

Devuelve executorName (string), executorVersion (string). Usa la tabla de retornos para separar valores correctos, resultados nil y errores recuperables.

Ejemplo

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

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