Regular API function

simGetStringNamedParam / sim.getStringNamedParam

Description Retrieves a named string or buffer value. See also sim.setStringNamedParam.
C synopsis simChar* simGetStringNamedParam(const simChar* paramName,simInt* paramLength)
C parameters
paramName: the key or name of the parameter
paramLength: the size of the parameter
C return value
nullptr if operation was not successful or if such a parameter does not exist. Otherwise the parameter. The user is in charge of releasing the returned buffer with simReleaseBuffer.
Lua synopsis string stringParam=sim.getStringNamedParam(string paramName)
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart