Question: Readdata with something like 10^-6

Hi,

 

  I would like to readdata from a file 

              -6
2 0.38 10 + 0. I

 

  I use

 

f:=readdata(`d:\\test.dat`,2);
for i from 1 to 20 do
print(i,f[i]);
end do:

 

  The problem is, seems maple get -6, instead of 10^-6, since the .txt file puts -6 in a row. 

 

My question is, how to get the right data 0.38*10^-6 correctly?

 

P.S. I used cmaple  inputfile >  outputfile.txt to get the .txt file. Should I use writedata?

 

 

Please Wait...