Mmm...ok thanks...it works.
Btw I forgot to say that I have a list of terms.
Let's say I have X = p(_15231), Y = [q(_15231),r(_15231,_11255)).
If I do Z = (X :- Y), portray_clause(Z), I get this:
p(A):-
[q(A),r(A,_)].
I'd like to have this:
p(A):-
q(A),
r(A,_).
Any solution?
Thank you
Hello,
I use YAP Prolog. I discovered that portray_clause/2 can print formatted clauses.
For example portray_clause((p(_15231):-q(_15231)) prints:
p(A):-
q(A).
Well...if in my code I have the head in a variable and the body in another variable, for example (X = p(_15231) and Y = q(_15231))...
Hi all! I have downloaded some sample sources from here:
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/index.html
With those files I could execute these operations, that I performed using a webcam:
-RTP Trasmission (with AvTransmit2.java)
-RTP Reception (with AvReceive2.java)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.