This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]