"&" operator regression from Scilab 5
Reported by Paul BIGNIER
Originally assigned to Pierre-Aime AGNEL
--> if 0 & a then ; end
That command passed (as it should) in Scilab 5 but displays an "Undefined variable: a" error (as if the '0' condition passed) in Scilab 6.
Note that
--> if 0 then disp("KO"); end
doesn't display anything in 6, as it should.
This regression has been spotted provoking errors with argument checking such as:
if exists("arg") & typeof(arg) then ...
Regards,
Paul