home *** CD-ROM | disk | FTP | other *** search
Prolog Source | 1990-03-26 | 573 b | 21 lines |
- /*
- Copyright (c) 1986, 90 by Prolog Development Center
- */
-
- predicates
- run
-
- clauses
- run :-
- makewindow(1, 20, 7, "A blue window", 2, 5, 10, 50),
- write("The characters are red"), nl,
- makewindow(2, 176, 7, "A light cyan window", 14, 25, 10, 40),
- write("This window is light cyan and the "),
- write("letters are black and blink."), nl,
- write("Please type an integer to exit."), nl,
- readint(_),
- removewindow,
- write("Please type an integer to exit."), nl,
- readint(_),
- removewindow.