More Visual Prolog 7.3 Examples


Alchemist Helper

Written by Oleg Kozlov


The example demonstrates the following aspects of programming in Visual Prolog:

  • work with bitmap images: drawing bitmaps with transparent areas (by masks of transparency), direct modifying bitmaps as binary terms, methods of storage and usage of images in applications;
  • owner drawing of list boxes;
  •  basic work with internal base of facts;
  • basic work with lists.

User Manual

The list in the left column represents the potions existing in a database. The button from above the list allows to delete the allocated potions from the database.


The list in in the second column represents the selected potions for mixing. With the buttons ">" and "<" at the left and to the right of the list it is possible to add or delete potions from it.


Under the list of the selected potions the field of input potion labels and the image showing color of a mixed potions is located. With the button "< Mix" a user can add a new potion into the database. Potion color is defined by the average value of all ingredients.


The list in third column represents results of search on the filter. The filter is a number of scrollbars in a right bottom corner. With their help you can put restrictions on color making potions and pressing the button "Search >" to put of search results into the list. 





The example requires Visual Prolog 7.3 Commercial Edition.


If you use the Personal Edition, but need the  features supported only in the Commercial Edition, you are welcome to order the latest build of this Edition just now: Order!


Users of previous versions of Visual Prolog are welcome to upgrade to the current version of Visual Prolog  to use the latest versions of the Visual Prolog examples.


Download VIP-ALC'08

Visual Prolog Application & Language Conference (VIP-ALC 2006) April 24-26 2006

Download VIP-ALC'06 Proceedings