Regular API function

sim.registerScriptFunction

Description
Deprecated
C/C++
synopsis
See simRegisterScriptCallbackFunction instead that allows to register C/C++ function callbacks
C/C++
parameters
C/C++
return value
Lua
synopsis
int result=sim.registerScriptFunction(string funcNameAtPluginName,string callTips)
Lua
parameters
functNameAtPluginName: name of the function, combined with the plugin name if available (e.g. simMyPlugin.handleTask@simMyPlugin or sim.handleTask@sim)
callTips: call tips: string (or several strings separated by '\n') that indicates the input/output argument type/size
Lua
return values
result: 1 if function was registered or 0 if function was replaced (when that function name already existed)
Python
synopsis