[Scilab-Dev] Scilab 6 and "hidden" functions ?
Stéphane Mottelet
stephane.mottelet at utc.fr
Fri Jul 31 16:17:20 CEST 2015
Hello,
Trying to test the plotlib under Scilab 6, i discovered that it is
impossible to define a function named "hidden" (this is a plotlib
function emulating a Matlab function)
function hidden(varargin)
endfunction
[Scilab6] function hidden(varargin)
[Scilab6] ^~~~~~^
[Scilab6] /Users/mottelet/h.sci : 1.10 - 1.16 : syntax error, unexpected hidden, expecting [ or identifier
In fact, "hidden" seems to be a new keyword, because the following seems to be ok :
hidden function f(varargin)
endfunction
So there seems to be a parsing problem, because even "hidden" is a new pre-statement for function definition, I don't see any reason to forbid "hidden" as a function name.
S.
--
Département de Génie Informatique
EA 4297 Transformations Intégrées de la Matière Renouvelable
Université de Technologie de Compiègne - CS 60319
60203 Compiègne cedex
More information about the dev
mailing list