users-prolog
[Top][All Lists]
Advanced

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

variable listing


From: Tomas Potok
Subject: variable listing
Date: Mon, 29 Dec 2003 03:00:01 +0100 (CET)

Hello,

is there a way in Prolog to get a listing (array) of variables contained in a
Term?

F.e.:

get_vars( a(b(XX),YY), V).

V = [XX,YY]

Thank you

Tomas

--
Also doing mathematics this way?
http://kopernik.cc.fmph.uniba.sk/~potok/jokes/math.jpg




reply via email to

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