Page 1 of 1

Questions about family 1

Posted: 2 Nov 2020 12:12
Hello everyone, I am a college student from Taiwan, and I use visual prolog for the first time. I have a question to ask everybody. :cry: :cry: :cry:
Family 1 cannot produce the final teaching result
I guess my fa.txt file put the wrong way.

Re: Questions about family 1

Posted: 2 Nov 2020 16:26
by Martin Meyer
Hello Bo Cong,

the pictures you have posted do not match. The 1st one shows an exe directory containing the usual files. In the 2nd pic the exe directory seems to be messed up: The usual files are missing and *.pack and *.ph files should better not be placed in the exe (= "executables") directory.

Common reasons, why a file cannot be (re-)created or opened, are that the file is already opened or write protected. Most often it is that another instance of your VIP program, which is still running, keeps the file open. To cure this you have to cancel the old instance of your program before running a new one.

For more individual advice to your problem you need to post your code. I.e. the contents of your *.pro, *.cl, and *.i files.

Re: Questions about family 1

Posted: 2 Nov 2020 18:59
by Thomas Linder Puls
It seems that the file is in the "exe" directory, but the program looks for the file one level above. Hence the two dots in the error message ..\fa.txt