Exercise 5 INPUT and OUTPUT (readfile)

hua hua hua..
Why I always meet you..., just kidding my friends..
ok, now we will learn about readfile...
do you know about that???
if you don't know, so check it out...
1. Firstly, write abcdefghjij in notepad like as below in notepad.
2. And then save it with name text3.txt.
3. Then, now we must make a new rule in notepad like as below, and don't forget save it with
name exercise5no3.pl.
4. Last consult this file in SWIprolog and give the command.
5. Finally the result is like as below.




  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

0 Response to "Exercise 5 INPUT and OUTPUT (readfile)"

Posting Komentar