[Scilab-users] Strange list error

Paul Bignier paul.bignier at scilab-enterprises.com
Mon Jan 27 08:47:24 CET 2014


Hello Stefan,

What do you mean by "suddenly stopped working"? Did you switch Scilab 
versions?

Could you provide us the failing test case?
When I type
     args = list(); args(1)=null()
it runs smooth.

Regards,
Paul


On 01/25/2014 09:07 PM, Stefan Du Rietz wrote:
> 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
>>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 
Paul BIGNIER
Scilab Engineer & Xcos Developer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69
http://www.scilab-enterprises.com




More information about the users mailing list