[Bugzilla] [Bug 1074] Samuel GOUGEON has changed bug_file_loc, component

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Fri Mar 23 20:57:08 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=1074
--------- Bug Summary -----------
fun2string()  converts anomalously function calls with more than 1 return argum

---------- Changed by ------------
sgougeon at free.fr

---------- What changed ----------
bug_file_loc, component


Samuel GOUGEON <sgougeon at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|-->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                     |
          Component|Scilab                      |Strings

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180323/f95edeb5/attachment.htm>


More information about the Bugzilla mailing list