Regular API
function
simGetScriptExecutionCount / sim.getScriptExecutionCount
Description
Retrieves the number of times the current script was called and returned. See also
sim.getSimulationState
.
C synopsis
-
C parameters
-
C return value
-
Lua synopsis
number executionCount=sim.getScriptExecutionCount()
Lua parameters
None
Lua return values
executionCount
: number of times the current script was called and returned, or -1 in case of an error
All regular API functions on one page