users-prolog
[Top][All Lists]
Advanced

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

Re: Help Me


From: Leonardo B. Lopes
Subject: Re: Help Me
Date: Wed, 13 Jun 2001 16:07:04 -0500 (CDT)

I like this tutorial:


http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/pt_framer.html

although it may be more advanced than what you are looking for. As for the
specific question you asked, apparently, the clause homem/1 is not defined
in your code, but is being specified as part of the man/1 clause. If you
don't understand what I just said, then you probably need to go back to a
good prolog book and read the first chapter. "The Art of Prolog" is always
a top candidate...

Good Luck!
Leo.


On Wed, 13 Jun 2001, Tiago Sant' Anna da Silva wrote:

> Hi,
> Could, please somebody tell me why I can't do anything in this program?
> This is my fist time, I've never used this program before, just at classroom, 
> in theoric way.
> Is there a place with a tutorial, about syntax.
> 
> this is an error I got:
> | ?- men(tiago).
> uncaught exception: error(existence_error(procedure,homem/1),top_level/0)
> 
> why?
> 
> Thank's
> 
> -- 
> |===|===|===|===|===|===|===|===|===|===|===|===|===|
> 
> -~^''"''^~-~^? => Tiago Sant' Anna da Silva
>       address@hidden
> 
> Linux user #136940
> Get counted at http://counter.li.org
> 
> ICQ: 14252973
> 
> |===|===|===|===|===|===|===|===|===|===|===|===|===|
> 
> _______________________________________________
> Users-prolog mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/users-prolog
> 

========================================================================
Leonardo B. Lopes                                       address@hidden 
Ph.D. Student                                              (847)491-8470
IEMS - Northwestern University              http://www.iems.nwu.edu/~leo




reply via email to

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