Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
3Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Language

Language

Ratings: (0)|Views: 109|Likes:
Published by Mijal Segal

More info:

Published by: Mijal Segal on Nov 08, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

04/25/2012

pdf

text

original

 
Visual Prolog Version 5.0
 
Language Tutorial
(c) Copyright 1986-1997Prolog Development Center A/SH.J. Holst Vej 3A-5A, CopenhagenDK - 2605 BroendbyDenmark 
 
Copyright
 
The documentation for this software is copyrighted, and all rights are reserved. Itmay not be reproduced, transmitted, stored in a retrieval system, or translated,either by electronic, mechanical or any other means, without the prior writtenconsent of Prolog Development Center A/S.The software products described in these manuals are also copyrighted, and arelicensed to the End User only for use in accordance with the End User LicenseAgreement, which is printed on the diskette packaging. The prospective user should read this agreement carefully prior to use of the software.Visual Prolog is a registered trademark of Prolog Development Center A/S.Portions of the Software and Documentation under license from:
Borland International; Copyright (c) 1986, 1988 Borland International.Other brand and product names are trademarks or registered trademarks of their respective holders.
 
Table of Contents
 
Using This Manual............................................................................................1
PART 14
Using the Environment.........................................................................................4CHAPTER 17.......................................................................................................5Using the Visual Prolog Environment...................................................................5What Needs to be Installed for This Book ?......................................................5Starting the Visual Prolog Environment............................................................6Opening an Editor Window...............................................................................6Running and Testing a Program........................................................................6Loading Examples From Disk...........................................................................7Handling Errors.................................................................................................8
PART 29
Tutorial Chapters 20 -- 21: Learning Prolog2223Visual Prolog............................9CHAPTER 24.....................................................................................................10Prolog Fundamentals...........................................................................................10PROgramming in LOGic................................................................................10Sentences: Facts and Rules..........................................................................11Queries........................................................................................................13Variables: General Sentences......................................................................16Overview.....................................................................................................17From Natural Language to Prolog Programs...................................................18Clauses (Facts and Rules)............................................................................18Predicates (Relations)..................................................................................22Variables (General Clauses)........................................................................22Goals (Queries)...........................................................................................26Comments...................................................................................................29What Is a Match?............................................................................................30Summary.........................................................................................................32CHAPTER 32.....................................................................................................35Visual Prolog Programs......................................................................................35Visual Prolog's Basic Program Sections..........................................................35The Clauses Section....................................................................................36The Predicates Section................................................................................36The Domains Section..................................................................................39The Goal Section.........................................................................................43A Closer Look at Declarations and Rules........................................................43Other Program Sections..................................................................................52
i

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
agigi9565313 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->