We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
writer() (Read 1215 times)
writer()
Feb 1st, 2007, 12:44am
 
In the 0116+ changes it mentions that writer() is now createWriter(), but that it "doesn't count" because it wasn't documented anywhere (or something along those lines).  But there still exists a PrintWriter and related PrintWriter_print/etc pages in the reference with examples using writer() and a link to a ref page for writer() at the bottom.
Re: writer()
Reply #1 - Feb 2nd, 2007, 4:03pm
 
whups, good catch. now fixed for the next release. looks like we also need a page for createWriter().
Re: writer()
Reply #2 - Apr 18th, 2007, 1:45am
 
yup confused. so neither of the following work for me in version 0124, and i'm not seeing a reference page for createWriter:

PrintWriter output = new createWriter("test.txt");
PrintWriter output = new writer("test.txt");
Re: writer()
Reply #3 - Apr 18th, 2007, 1:49am
 
sorry, figured out my own problem, ditch the "new":

PrintWriter output = createWriter("text.txt");

works fine...
Page Index Toggle Pages: 1