[Bugzilla] [Bug 5818] Samuel GOUGEON has commented the bug

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Sat Mar 17 03:14:09 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=5818
--------- Bug Summary -----------
Why a "#" can't be a commentary ? I want to make scilab scripts.

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

---------- What changed ----------

--- Comment #4 from Samuel GOUGEON <sgougeon at free.fr> ---
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 '!'

-- 
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/20180317/c17f3577/attachment.htm>


More information about the Bugzilla mailing list