Discussions related to Visual Prolog
Here I provide the sample code for a console application together with a set of data used to display the problem.
The data contained in the file test01.db are a set of prolog facts. The name of the file is to be provided in the command line.
The code consults the datafile and stores the data usign the chainDB class. If the option in_file is used all works fine but if the in_memory option is selected then the program crashes while inserting the data into the chain.