home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.prolog
- Path: sparky!uunet!mcsun!inesc.inesc.pt!dec4pt.puug.pt!unl!nntp!vp
- From: vp@fct.unl.pt (Vasco Pedro)
- Subject: Re: Help with C-Prolog, Please.
- In-Reply-To: micha@ecrc.de's message of Fri, 4 Sep 1992 12:15:44 GMT
- Message-ID: <VP.92Sep7120206@babel.fct.unl.pt>
- Sender: news@fct.unl.pt (USENET News System)
- Organization: Universidade Nova de Lisboa -- Lisbon, Portugal
- References: <1992Sep3.164303.8798@iccgcc.decnet.ab.com> <1992Sep4.121544.13871@ecrc.de>
- Date: Mon, 7 Sep 1992 12:02:06 GMT
- Lines: 30
-
-
- In article <1992Sep4.121544.13871@ecrc.de> micha@ecrc.de (Micha Meier) writes:
- > In article 8798@iccgcc.decnet.ab.com, baechtel@iccgcc.decnet.ab.com () writes:
- > >
- > >
- > > In C-Prolog 1.5, is there anyway to get the name of a variable
- > >in a term?
- .
- .
- .
- .
- > [...] If you insist on
- > C-Prolog, use ROK's public domain parser read.pl and rdtok.pl which
- > gives you both the term and a list of variable/name pairs.
-
- Or get c-prolog 1.6.edai:
-
- C Prolog version 1.6.edai
- % Restoring file /usr/local/lib/prolog/startup-1.6.edai
- yes
- | ?- read(A,B).
- |: A.
- B = [ 'A' = _0]
- A = _0
- yes
-
- Cheers,
- Vasco Pedro
- --
- .signature illegible
-