Syntax
getexecutorname(): stringReturns
| Name | Type | Description |
|---|---|---|
executorName | string | Executor name string. |
Description
Returns Real's executor name as one string.
Call it without parameters. The function reads the needed context from the current runtime state.
It returns executorName (string). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Read the executor name string exposed by Real.
local name = getexecutorname()
print(name)