<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_NEW "
   title="NEW - Lasterror function seems to truncate error message. exec SCI/dummyVeryLongNam"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=3439">bug 3439</a>
                <br><br>
                ---------- Bug Summary ----------- <br>Lasterror function seems to truncate error message. exec SCI/dummyVeryLongNam <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>-->error(10)
error(10)
          !--error 10 
Multiplication incohérente.

at line       1 of exec file called by :    
exec SCI/dummyVeryLongNameErrorScript.sce
 
 
-->[a,b,c,d]=lasterror()
 d  =
 
 exec SCI/dummyVeryLongNa   
 c  =
 
    1.  
 b  =
 
    10.  
 a  =
 
 Multiplication incohérente.
           </td>
           <td>
                
           </td>
         </tr></table>
      <p>
        <div>

            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Lasterror function seems to truncate error message. exec SCI/dummyVeryLongNam"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=3439#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Lasterror function seems to truncate error message. exec SCI/dummyVeryLongNam"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=3439">bug 3439</a>
              from <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></b>
        <pre>In Scilab 6.0.1, we have

mputl("error(""Test"")", "TMPDIR/dummyVeryLongNameErrorScript.sce");
exec TMPDIR/dummyVeryLongNameErrorScript.sce
[a,b,c,d] = lasterror()

--> error("Test")
à la ligne     1 du fichier exécuté TMPDIR\dummyVeryLongNameErrorScript.sce

Test
--> [a,b,c,d] = lasterror()
 d  = 
 exec

 c  = 
   1.

 b  = 
   10000.

 a  = 
 Test</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>