<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I'm not sure that empty rlist is properly managed in Scilab<br>
<br>
try<br>
<tt>a = rlist() //without ;</tt><br>
<br>
and overload "%r_varn" tries to access to internal fields that does
not exist.<br>
I think the trouble comes from rlist function.<br>
<br>
Antoine<br>
<div class="moz-cite-prefix">Le 15/01/2019 à 10:29, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:cc1a7715-4d31-0a7e-5682-b1adbc01a74a@free.fr">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello Antoine,<br>
<br>
Le 15/01/2019 à 09:53, Antoine ELIAS a écrit :<br>
</div>
<blockquote
cite="mid:0511d8b9-7db0-4333-de0f-fba5cf7e5e1c@scilab-enterprises.com"
type="cite">Hello Samuel, <br>
<br>
No, it is not intentional, I will take a look to that today. <br>
</blockquote>
<br>
IMO, this is not necessarilly a bad change. Please also consider <a
href="http://bugzilla.scilab.org/show_bug.cgi?id=11077#c8"
moz-do-not-send="true">that remark</a> about applicability of
varn() to empty rlist().<br>
<br>
Thanks<br>
Samuel<br>
<br>
<blockquote
cite="mid:0511d8b9-7db0-4333-de0f-fba5cf7e5e1c@scilab-enterprises.com"
type="cite"> <br>
Antoine. <br>
Le 14/01/2019 à 23:22, Samuel Gougeon a écrit : <br>
<blockquote type="cite">Hello, <br>
<br>
I was noting that varn([]) changed from Scilab 5 to Scilab 6:
<br>
<br>
5.5.2: <br>
-->varn([]) <br>
!--error 246 <br>
Function not defined for given argument type(s), <br>
check arguments or define function %s_varn for overloading.
<br>
<br>
6.0.1: <br>
--> varn([]) <br>
ans = <br>
[] <br>
<br>
This is hard-coded, not in any %s_varn(). <br>
<br>
This change is not yet documented. I would like to have
confirmation that it is intentional. <br>
<br>
Thanks <br>
Samuel </blockquote>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/dev">http://lists.scilab.org/mailman/listinfo/dev</a>
</pre>
</blockquote>
<br>
</body>
</html>