I offer a copy of what I posted earlier on this thread so that it may be properly addressed (in the previous thread, discussion became mired in a debate over exact meanings of words in a help file): [This error] is yet another [error] in Maple's eternally bug-ridden Worksheet package. I do not know if this [error] exists in previous versions of Maple, but there is a problem reading in nested quotes. To see this [error], do the following: 1) Create a new worksheet. 2) On any line, type: "\"foo\""; This is the correct syntax for putting quotation marks [inside of] a string. 3) Save the file--classic or standard format does not make a difference. 4) Go to a new worksheet and open the file using Worksheet:-ReadFile(). If you look at the output of Worksheet:-ReadFile(), you will notice that the contents of the command prompt with the line "\"foo\""; is: "\134"foo\134""; If you were to, instead, open the worksheet with a text editor, you would notice that the contents of the command prompt in question is: "\134"foo\134""; It seems to me that the ReadFile command is not correctly handling what appears to be the MathML encoding of the stored information. NB: If you had saved the file as a classic worksheet and you opened it with a text editor, the content would be: \"\\\"foo\\\"\"; This is correct for the classic worksheet format and is handled correctly until Worksheet:-ReadFile() gets its hands on it.

Please Wait...