Page 1 of 1

Error 0x00000002

Posted: 24 Dec 2016 14:02
by johnspd

Posted: 24 Dec 2016 21:12
by Martin Meyer
Hi John,

step 5 from the Fundamental Visual Prolog tutorial says about fa.txt: >>You cannot create such a file directly in the IDE itself, but you can...<< Probably that was true when the tutorial has been written. However in current VIP 7.5.0.2 you can create an appropriate text file in the IDE. Instead of step 5 do this:

Right-click on the root entry family1 in the Project Window,
left-click New in Existing Package....

Left-click the lowermost menu item "Text File" in the Create Project Item window,
enter fa in the Name-field,
and left-click Create.

Copy clauses person("Judith",female). person("Bill",male). etc. from the tutorial to the text file's window,
run it by pressing Alt+F5

Posted: 27 Dec 2016 17:04
by Thomas Linder Puls
The message about the "compilation rule" is just a warning. The warning means that the file will not be compiled and linked into the final program. So basically it is a warning stating: you can have this file in your project if you like, but it will not be part of the program.

But since the intension of adding the file to the project is to have easy editing/viewing access to it, so there is no problem.