Question: Bug in procedure writefile of Maple9

I think I have found a subtle bug in my Maple 9.

If I execute the following code:

###
 B:=[ 3.5, 0.0001, 73.45]; A:=[[seq(1/op(j,B), j=1..3)]];
 writedata("a.txt",A);
###

the output file a.txt contains the line
0.2857142857    1       0.01361470388
(beware: maple has written "1" instead than "10000"!)

Questions:
1) is this bug already known? Is there a patch?
2) does it affect newer versions of Maple?
3) why does this happen?

 

PS: On the other hand, if I edit manually the list A, there is no problem: the commands
###
A := [[0.2857142857, 10000., 0.01361470388]];
writedata("a.txt",A);
###
yield the expected result.


Please Wait...