1 Aug 09:55
Error while redirecting standard out...
From: Prossegger Markus <M.Prossegger@...>
Subject: Error while redirecting standard out...
Newsgroups: gmane.comp.ai.prolog.yap.general
Date: 2008-08-01 07:55:00 GMT
Subject: Error while redirecting standard out...
Newsgroups: gmane.comp.ai.prolog.yap.general
Date: 2008-08-01 07:55:00 GMT
Hi everyone,
I am trying to develop an application (in .net) using YAP as a dynamic
rule-base-solver. It was quite easy to implement this using files for
the exchange of information but as the next step I am interested to get
the Prolog result via the standardout (which seems to be standarderror
in YAP?). So I implemented the YAP process in .net and redirected the
standarderror. It works for the startup messages and the consulting
messages but not for queries like the following examples:
writeAnything:-write('abc'). --> here I get only "?-yes" but not the
"abc"
writeAnything(X):-X='abc'. --> here I get nothing...
What I am doing wrong?
With greetings
Markus
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
RSS Feed