<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I'm using Scilab 6.0.0 API. What is the difference between pvApiCtx and scilabEnv? When I compile C++ code on Scilab 6.0.0 using pvApiCtx, I get the following error-<br><br><span style="font-family:monospace,monospace">error: 'pvApiCtx' was not declared in this scope<br>     int z=nbInputArgument(pvApiCtx);<br>                           ^<br>/home/scilab-6.0.0/share/scilab/../../include/scilab/api_stack_common.h:64:53: note: in definition of macro 'nbInputArgument'<br> #define nbInputArgument(PVCTX) (*getNbInputArgument(PVCTX))<br><br></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">If I replace pvApiCtx with scilabEnv, I get the following error-<br></font><br>/home/scilab-6.0.0/share/scilab/../../include/scilab/api_stack_common.h:64:58: error: expected primary-expression before ')' token<br> #define nbInputArgument(PVCTX) (*getNbInputArgument(PVCTX))<font face="arial,helvetica,sans-serif"><br><br></font></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">How do I resolve this error for Scilab 6.0.0?<br><br></font></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Regards,<br></font></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Shamika<br></font></span><div><div><div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">                                                          <br></font></span><div><span style="font-family:monospace,monospace">  </span><br><br><br> </div></div></div></div></div></div>