Visual Prolog 7.2 Examples and Demos

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.

Download

Note

The example requires Visual Prolog 7.2 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.

Otherwise, it is possible to download the example version for Visual Prolog 7.1.

 

Home | Company | News | Products Downloads | Shop | Support | Visual Prolog Features | Visual Prolog Compiler | FAQ | Tutorials | Examples | Knowledge Base | Discussion Forum | wiki | Site Map
 

Prolog Development Center A/S - H.J. Holst Vej 3-5C - 2605 Broendby, Denmark - Tel +45 3636 0000 - Fax +45 3636 0001 - sales@visual-prolog.com