--------------- In one cases I got the following error
for(i=1;i<=10;i++) for(j=1;j<=10;j++) B(i,j) = 0.12345*i*j;
became
for(i=1;i<=10;i++) for(j=1;j<=10;j++) B(i,j) ;
But this error was not reproducible: the same code in a different program caused no problem: I think scanner was confused by previous errors