[Scilab-users] ignore function output variable
sgougeon at free.fr
sgougeon at free.fr
Thu Nov 10 12:50:40 CET 2016
>SG: However, the first argout is actually assigned (and possibly displayed). AFAIK, this can't be presently avoided.
Humm, actually it aims to work in Scilab 6, but it is bugged:
--> h = zeros(5,3,2);
--> [s1,,s3]=size(h) // no error
s3 =
3. // wrong: 2 expected
s1 =
5.
--> [,s2]=size(h)
[,s2]=size(h)
^
Error: syntax error, unexpected ","
A pity. Still hoping for it. No need of "~", just skip with "[,.." or "..,,.."
More information about the users
mailing list