Consult

Hot key: Ctrl+F8

Opens an existing file in a new edit window by using the standard File Open dialog box and reconsults its contents by asserting the facts and rules in the internal database. If the corresponding predicates already exists in the database, this action will replace them.

Note that any changes in the source text will take effect only after reconsulting it.

This command is equal to consult(FILENAME) predicate.

You can have many files open simultaneously. The Consult command does not close any editor windows that you have open. The PIE is restricted to editing a single version of any one file. So if you already are editing a file in a PIE Edit window then you cannot open another Edit window for the same file.

PIE keeps track of the files you last worked on. You can quickly open one of them by selecting it from the list at the bottom of the File menu.

You can create a new file by using the New command or simply open an existing one (without reconsulting it) by using the Open command. Opened files can be then reconsulted any time using the Reconsult command.

To quickly open an existing file, click the Consult file button on the toolbar or use hot key - Ctrl+F8