[Scilab-users] Strange list error

Stefan Du Rietz sdr at durietz.se
Sat Jan 25 21:07:12 CET 2014


I found out what the error was: I had a line

   if exists("bolus") then

that became true when I had this variable in the workspace, which I 
never had before.

I changed it to

   if exists("bolus", "l") then

and it worked again.

But I still wonder: why the error 44?

Stefan

On 2014-01-25 18:32, Stefan Du Rietz wrote:
--------------------
> Hi all,
> one of my functions suddenly stopped working. During my effort to find
> the error by running the commands from the command window, I
> experienced this:
>
> -1->args(1) = null();
> args(1) = null();
>                   !--error 44
> Wrong argument #2.
>
> and when I checked:
> -1->typeof(args)
>   ans  =
>   list
>
> Can anybody explain that?
>
> Regards
> Stefan
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list