Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gianvito

    Print formatted clause

    Thank you! It was exactly what I was searching for ;)
  2. gianvito

    Print formatted clause

    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
  3. gianvito

    Print formatted clause

    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))...
  4. gianvito

    RTP Functions

    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)...

Part and Inventory Search

Back
Top