dollar fails when defining an empty variable: After x=[], x(1:$)=1 should leave x unchanged (Scilab 6.0.0 regression)
Reported by Hadrien
BUG DESCRIPTION:
----------------
Starting with an empty variable x, x(1:0)=1 should be the same as x(1:$)=1 and the expected result is that x remains empty.
However the latter assign 1 to the first index instead.
HOW TO REPRODUCE THE BUG:
-------------------------
--> x=[]
x =
[]
// expected behavior
--> x(1:0) = 1
x =
[]
// wrong behavior since size(x) = [0,0]
--> x(1:$) = 1
x =
1.
OTHER INFORMATION:
------------------