<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - fun2string() converts anomalously function calls with more than 1 return argum"
href="http://bugzilla.scilab.org/show_bug.cgi?id=1074">bug 1074</a>
<br><br>
---------- Bug Summary ----------- <br>fun2string() converts anomalously function calls with more than 1 return argum <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">URL</td>
<td>-->function foo()
-->[a,b,c]=foo1(1)
-->endfunction
-->fun2string(foo)
ans =
!function []=ans !
! !
! [a,b,c] = (foo1(1),foo1(1),foo1(1)), !
! !
!endfunction !
Isn't the second line strange?
Besides, why "ans" instead of the function name (I think I
know the answer, scilab does not know inside fun2str the
name of the argument at the caller level, but I'd like to
hear it stated)
In any event, tree2code(macr2tree(foo)) behaves ok in both
respect
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Scilab
</td>
<td>Strings
</td>
</tr></table>
<p>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>