Regular API function

simAuxiliaryConsolePrint / sim.auxiliaryConsolePrint

Description Prints to an auxiliary console window. See also sim.auxiliaryConsoleOpen.
C synopsis simInt simAuxiliaryConsolePrint(simInt consoleHandle,const simChar* text)
C parameters
consoleHandle: the handle of the console window, previously returned by the simAuxiliaryConsoleOpen command
text: the text to append, or NULL to clear the console window
C return value
-1 if operation was not successful. 0 if the console doesn't exist (anymore), in which case no error is generated. 1 if the operation was successful.
Lua synopsis number result=sim.auxiliaryConsolePrint(number consoleHandle,string text)
Lua parameters
Same as C-function.
Lua return values
Same as C-function.
Remote API equiv.
B0-based remote API: simxAuxiliaryConsolePrint
Legacy remote API: simxAuxiliaryConsolePrint

All regular API functions on one page