Problems writing to a file in prolog

后端 未结 0 1020
不知归路
不知归路 2020-11-22 08:05

I\'m trying to write to a txt file using prolog so I tried making a simple predicate to test that, here it is:

writefacts():- open(\'output.txt\', write, Out), write(

相关标签:
回答
  • 消灭零回复
提交回复
热议问题