Hello,

The warning message about the vector^scalar operation yielded in Scilab 5.5
has been removed from Scilab 6.0, as if this operation would become again allowed instead of becoming actually forbidden:

Scilab 5:

-->x = 1:3
 x  =
    1.    2.    3.

-->x^2
    !
Warning: Syntax "vector ^ scalar" is obsolete. It will be removed in Scilab 6.0.
  Use "vector .^ scalar" instead.
 ans  =
    1.    4.    9.

Scilab 6.0.0-b2:
--> warning("on")

--> x = 1:3
 x  =
   1.   2.   3.

--> x^2
 ans  =
   1.   4.   9.

Is it on purpose? Is this shortcut restored?

_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to