copy file into another file in prolog

Posted by smile on Stack Overflow See other posts from Stack Overflow or by smile
Published on 2010-05-24T21:36:19Z Indexed on 2010/05/24 21:41 UTC
Read the original article Hit count: 244

Filed under:

Good morning/evening

how can I write something in a file and then copy its content into the current file?

for example I consult file1.pro then I have rule write something in file2.pro , after this rule finish its job I want append the content of the file2.pro int file1.pro .

when I tried to append into file1.pro directly , the data appear like undefined symbols ,I don't know why

please hellp me

thank you.

© Stack Overflow or respective owner

Related posts about prolog