Turbo Prolog
Turbo Prolog
Turbo Prolog
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Index<br />
A<br />
Anonymous Variable, 22-23<br />
Arithmetic Operations, 63<br />
comparisons, 64-66<br />
expressions, order of evaluation, 64<br />
predicates and functions, 68-69, 179<br />
special conditions for equality, 66-67<br />
ASCII character codes, 201-203<br />
Assembly language routine, calling from<br />
<strong>Turbo</strong> <strong>Prolog</strong>, 157-159<br />
B<br />
Backtracking, 23-24<br />
cut, used to prevent, 58-61<br />
(ail predicate, used to initiate, 57-58<br />
Block operations, I 1-12, 175<br />
BNF syntax for <strong>Turbo</strong> <strong>Prolog</strong>, 196-199<br />
c<br />
C language procedures, calling from<br />
<strong>Turbo</strong> <strong>Prolog</strong>, 153-157, 159<br />
Clauses, 18, 132<br />
deterministic, 60-61, 149<br />
nondeterministic, 60, 149<br />
Comments, 27<br />
Comparisons, arithmetic, 64-66<br />
Compile command, 165-166<br />
options menu, 166<br />
Compiler directives, 135-139<br />
Compound goals, 22<br />
Compound objects, 38-44<br />
domain declaration of, 38<br />
functors, use in, 38<br />
levels in, 40-42<br />
recursion in, 42-44<br />
Compound structures, 133-134<br />
Compound terms, 133-134<br />
Constants, simple (see Simple constants)<br />
Cut, 58-61, 149<br />
D<br />
Databases (see Dynamic databases)<br />
Date, 88<br />
Debugging,74<br />
Distribution Disk, 2<br />
files on, 163-164<br />
Domain Declarations, 38-39, 130-131<br />
shortening, 131<br />
Domains, 20-21<br />
DOS, access to, 87-89<br />
Dynamic Databases, 140-144<br />
accessing facts, 141-142<br />
declaration of database, 140-141<br />
extending database onto files, 142-144<br />
E<br />
Edit Command, 166-172<br />
files menu, 166-168<br />
setup menu, 168-172<br />
Editor<br />
accessing from within <strong>Turbo</strong> <strong>Prolog</strong><br />
program, 161-162<br />
basic operation, I I, 172-173<br />
block operations, 1 1-12, 175<br />
commands, 172-177<br />
search and replace operations, 12-13<br />
summary of commands, 13<br />
Entering a program, 8<br />
Error messages, 205-208<br />
Executing a program, 9-10<br />
219