Discussions related to Visual Prolog
Posts: 1
Joined: 2 Nov 2020 11:54

Questions about family 1

Unread post by BO CONG CHEN »

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.
1604318886746.jpg (117.33 KiB) Viewed 1512 times
1604319080189.jpg (55.11 KiB) Viewed 1512 times
1604319049019.jpg (12.54 KiB) Viewed 1512 times
Martin Meyer
VIP Member
Posts: 287
Joined: 14 Nov 2002 0:01

Re: Questions about family 1

Unread post 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.
Regards Martin
User avatar
Thomas Linder Puls
VIP Member
Posts: 1216
Joined: 28 Feb 2000 0:01

Re: Questions about family 1

Unread post 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
Regards Thomas Linder Puls
Post Reply