Subject: [SWIPL] about files

From: Rastei Amelia Viorela <[email-masked]>
Date: Tue, 20 Mar 2001 13:46:37 +0200 (EET)

I would like to know more about files: is there a possibility to open a
file at the beginning of a module, and to write in that file using
predicates of that module :

	:-module(...)

        here I open the file

	p1:-cond1, write_to_file).
	....
	pk:-condk,write_to_file.

	close_file

 If not why?

 Thank you very much for your help!

-- 

 Amelia Rastei,
 Dept. Computer Science,
 Babes Bolyai University,
 Cluj Napoca, Romania.