ExtPred -- Visual Basic Extended Predicate Sample

This sample illustrates how to build Prolog predicates in Visual Basic that can be called from Amzi! Prolog. Extended predicates can be used to provide user interface, access to databases, network communications and other functions that are not intrinsic to Amzi! Prolog.

Building the Sample

To build it:

  1. Compile msgbox.pro
  2. Link msgbox.plm into msgbox.xpl.
  3. Open the VB project msgbox and build msgbox.exe. The source code for the extended predicate is in PMsgBox.bas.

Running the Sample

To run it:

  1. Run msgbox.exe.

Copyright ©1987-2004 Amzi! inc. All Rights Reserved. Amzi! is a registered trademark and Logic Server and e-Prolog are trademarks of Amzi! inc.