users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to print a prolog Term?


From: Daniel Jiménez Gentil
Subject: How to print a prolog Term?
Date: Tue, 25 Nov 2003 14:34:53 +0000

Hello,

I am using the C interface, and I don`t know how to print a prolog term that is a variable.

void WritePlTerm(PlTerm t) {
if (Blt_Var(t)) {
   printf ("Var: %i",Rd_Code(t));
}

This prints me the code assigned to the variable, but I`m attempting to write the name of the variable.


Thank you :)

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger. http://messenger.microsoft.com/es





reply via email to

[Prev in Thread] Current Thread [Next in Thread]