Reading Alejandro Jakubi's Saving Results article, I got interested in new ExcelTools package.

First surprise - it doesn't work from Classic, works only from Standard Interface (that was mentioned in the help pages.) Well, I started Standard Maple and did the example from the help page,

R := Array(1..3,1..4,[[1,2,3,4],[5,6,7,8],[9,10,11,12]]);

                       [1     2     3     4]
                       [                   ]
                       [5     6     7     8]
                       [                   ]
                       [9    10    11    12]

ExcelTools:-Export(R, "A.xls");

Opened it in Excel - seems to be OK. Now, I tried to get it back into Maple,

S := ExcelTools:-Import("A.xls");

                       [1.0     2.0     3.0]
                       [                   ]
                       [5.0     6.0     7.0]
                       [                   ]
                       [9.0    10.0    11.0]

Two surprises at once - numbers are not integer anymore, and without the last column. Was it designed that way?

Alec


Please Wait...