Regular API function

simPushStringOntoStack

Description Pushes a string onto the stack. The string may contain any values, including embedded zeros. The string will then be located at the top of the stack. See also the other stack functions.
C/C++
synopsis
simInt simPushStringOntoStack(simInt stackHandle,const simChar* value,simInt stringSize)
C/C++
parameters
stackHandle: a stack handle obtained with simCreateStack.
value: the string.
stringSize: the length of the string. If you specify 0, the string is a text string and its length will be automatically determined.
C/C++
return value
-1 in case of an error.
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis