home *** CD-ROM | disk | FTP | other *** search
Prolog Source | 1988-06-21 | 345 b | 16 lines |
- /*
- Turbo Prolog 2.0 Chapter 4, Example Program 4
-
- Copyright (c) 1986, 88 by Borland International, Inc
-
- */
-
- predicates
- phone_number(symbol, symbol)
-
- clauses
- phone_number("Albert", "EZY-3665").
- phone_number("Betty", "555-5233").
- phone_number("Carol", "909-1010").
- phone_number("Dorothy", "438-8400").
-