<html>
    <head>
      <base href="http://bugzilla.scilab.org/" />
    </head>
    <body><br>
    ---------- Bug Summary ----------- <br>Why a "#" can't be a commentary ? I want to make scilab scripts. <br><br>
    <br>
      <p>
        <div>

            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Why a "#" can't be a commentary ? I want to make scilab scripts."
   href="http://bugzilla.scilab.org/show_bug.cgi?id=5818#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Why a "#" can't be a commentary ? I want to make scilab scripts."
   href="http://bugzilla.scilab.org/show_bug.cgi?id=5818">bug 5818</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:

tmp = [
   "#!/usr/bin/scilab"
   "// Test if this file can be executed"
   "a = 1"
   ];
f = TMPDIR+"/test_5818.sce";
mputl(tmp, f);
exec(f)

--> exec(f)
at line     1 of executed file TMPDIR\test_5818.sce

#!/usr/bin/scilab
 ^^
Error: Unexpected token '!'</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>