Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multiple streams in Write

19 views
Skip to first unread message

zac

unread,
Dec 27, 2006, 5:35:18 AM12/27/06
to
Hi,

another strangely behaving function (in Mathematica 5.2):

tex1 = OpenWrite["C:\\test1.txt"];
tex2 = OpenWrite["C:\\test2.txt"];

Write[{tex1, tex2}, "anything"]

Close[tex1];
Close[tex2];
ClearAll[tex1, tex2];

Q1: Why is test2.txt empty?
Q2: Why does it work correctly with WriteString instead of Write?

Thanks for any answer

Istvan Zachar

zac

unread,
Jan 4, 2007, 6:34:08 AM1/4/07
to
bump

Any suggestions?

Istvan

0 new messages