Copyright (1997-2013) EDMGROUP Pty Ltd - EZY Prolog Reference

 reconsult

 

Template

reconsult(STRING FILENAME)-(i)

Type

determ

Description:

Reset the current code

Remarks

Reset internal compiled rules database and reads EZY Prolog program code from a *.pro file. reconsult/1 reads facts and rules from the text file FileName (created by saving a database with the save/1 predicate) and asserts them in the internal database. If the corresponding predicates already exists in the database, reconsult/1 will replace them. If the file contains any syntactic errors, reconsult/1 generates an error.

See sample: 98

Copyright 2003 EDMGROUP (Australia)