runtime error expected not detected

David Chèze david.cheze at cea.fr
Thu Jul 28 08:48:10 CEST 2011


Hi,

debbuging my program, I noticed this :

global declaration in level 0 of the script:
global Vbloc;
//...
Vbloc=tlist(['1 1 1','Pchfg','Pclim','Sene'],[],[],zeros(2,10));
//...
in a further fonction, it is redeclared as global then initialized like
that:
global Vbloc;
//...
Vbloc.Pchfg=zeros(size(ichfg,2),8);
//...
and then it is used  in the same function:
Vbloc.Pchfg(:,9)=donnees(ichfg,26); 

I would expect that it complains for 'Vbloc.Pchfg' bad column's index in
this last affectation at runtime but it didn't : is that really possible in
"usual" behaviour?

thanks for your advice,

David


--
View this message in context: http://mailinglists.scilab.org/runtime-error-expected-not-detected-tp3205890p3205890.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list