This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
getting interpreter default port...
- From: Pinte_Stanislas at emc dot com
- To: kawa at sources dot redhat dot com
- Date: Fri, 10 May 2002 10:00:03 -0400
- Subject: getting interpreter default port...
hello,
I have started an interpreter like that:
Scheme scm = new Scheme();
Object x = scm.eval("(+ 3 2)");
System.out.println(x);
but I cannot get to the default output port...
I tried:
OutPort.setOutDefault(new OutPort(outStringWriter, true, "out"));
OutPort.setErrDefault(new OutPort(errStringWriter, true, "err"));
but nothing gets written to it...
anyone has got a clue?
thanks a lot.
Stanislas Pinte - Associate Software Engineer.
Phone: +32-(0)15-401.371
Fax: +32-(0)15-401.400
Address: Schaliënhoevedreef 20i, B-2800 Mechelen, Belgium