Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
Create a scalar double in Scilab memory.
int createScalarDouble(void* _pvCtx, int _iVar, double _dblReal)
Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
Position in the Scilab memory where you want to put the variable.
if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.