Four Easy Question
From: Linux Man (steven_82m_at_hotmail.com)
Date: 03/21/04
- Next message: zeus: "Re: Sublists question"
- Previous message: Nick Wedd: "Re: Newbie - Nesting Predicates"
- Next in thread: Jeff Gaines: "Re: Four Easy Question"
- Reply: Jeff Gaines: "Re: Four Easy Question"
- Reply: Martin Sondergaard: "Re: Four Easy Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Mar 2004 22:19:20 -0800
Hi
I'm new in prolog and have some easy question:
1- How can I create a file in prolog?
2- How can I read from a file or check that, say "john is father of
bob" (father(john, bob)), from that file?
3- How can I write a new predicate in the created file
(e.g. father(jim, alice).)?
Many Thanks
Steve
- Next message: zeus: "Re: Sublists question"
- Previous message: Nick Wedd: "Re: Newbie - Nesting Predicates"
- Next in thread: Jeff Gaines: "Re: Four Easy Question"
- Reply: Jeff Gaines: "Re: Four Easy Question"
- Reply: Martin Sondergaard: "Re: Four Easy Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|