[Contents] [Top] [Help] [(c)] [Contact]
next up previous
Next: IF/Prolog V5.2 Installation Guide Up: IF/Prolog V5.2 Manuals

Contents

Preface

The IF/Prolog system from Siemens AG Austria is an implementation of the ISO Prolog standard (ISO = International Standardization Organization). This standard was prepared by ISO Working Group 17, comprising representatives from various national standardization bodies.

IF/Prolog also contains interfaces and predicates which extend the language and ensure compatibility with earlier versions of the product.

The Standard dictates us to supply a strictly conforming mode, where the Prolog system only accepts and supplies conforming language predciates. To invoke this mode, see the section on invoking IF/Prolog in the User's Guide.

We continue, of course, to offer source compatibility for all relevant industrial platforms including Unix and PC operating systems. We continue our engagement in ISO and the Prolog Management Group as an excellent, international forum for Prolog vendors and industrial users.

IF/Prolog is a valuable state-of-the-art development tool and offers at the same time maximal compatibility to the existing product lines. We shouldn't forget to mention that our development team is continuing to implement new ideas in Prolog-based tools to increase productivity of software engineering.

Since we do not claim to be perfect, you should contact us should you encounter any problems; your critique and suggestions are most welcome.

We wish you every success and pleasure with IF/Prolog.

IF Computer
Siemens AG Austria

Release Notes

IF/Prolog V5.2 is the successor of IF/Prolog V5.1A and V5.1B. For the customers of V5.X, we reproduce the release notes here.

Changes between IF/Prolog V5.0 and V5.1

This section describes the changes in IF/Prolog V5.1 A large part of these changes origuins in the strict ISO Standard compliance of IF/Prolog V5.1 For a more complete description, please refer to the corresponding Reference Manual.

Development system

The following list describes the major changes and new features in IF/Prolog V5.1. For a more complete description, please refer to the individual manual pages.

The following commands are new:

The following predicates are new: No new functions.

The following predicates have changed:

Constraints Package

The following predicates are new:

The following predicates have changed:

OSF/Motif Interface

The support of the backwards-compatibility interface to Motif 1.1 using Motif 1.2 system files (mot12bc) has been be dropped.

The support of the interface to Motif 1.1 will be continued, but the interface will be provided only if Motif 1.2 is not available.

The following predicates are new:

The following predicates have changed:

Changes between IF/Prolog V5.1 and V5.2 for MS-Windows

Development system

There are several GUI improvements:

Enhanced Options - in the form of property sheets
graphical debugger - includes toolbars, dialogs etc.
IF/Prolog browser - allows to browse IF/Prolog database - modules, predicates, variables, operators, status information
Development Environment Linking to even link development GUI with a custom application for testing purposes.

Runtime system

Runtime system and Development system have separate GUIs. Runtime GUI is used to link it with custom applications. It has no development GUI features such as enhanced options, Graphical Debugger or IF/Prolog Browser. Runtime GUI can be used also with development license.

Custom Applications

Custom applications can be linked with new GUIs. The table shows the correspondence between the GUI type and linked files. See also Visual C++ demos for more information.

Files Runtime GUI Development GUI
Resource DLL for Release configuration GUIres.dll GUIres.dll
Resource DLL for Debug configuration GUIresd.dll GUIresd.dll
User Interface static library for Release configuration rtmGUI.lib devGUI.lib
User Interface static library for Debug configuration rtmGUId.lib devGUId.lib
Main object file for Release configuration rtmGUImain.obj devGUImain.obj
Main object file for Debug configuration rtmGUImaind.obj devGUImaind.obj

Visual C++ Support

There are several demos that include Visual C++ project files:

 	Standard\WinApp
 	Standard\WinPred
 	Standard\EventDemo
 	Standard\Queens

Included is a tool that sets Visual C++ settings to include IF/Prolog C directory in library and include directories for the current user. It is the addvcdirs.exe file and it is located in $PROROOT$Bin$ directory. It is run during the installation. To update Visual C++ settings for a different user it must be called after the user logs in.

Development and Runtime system

New C Interface function

void Cshutdown(void)
Users can define this function similarly to Cboot() function to process custom procedures at the end of the EndProlog() function. You can learn more on using Cshutdown() in the Event Demo.

The following modules are new

Module IF/Prolog Module Description
module system.nt.events (Event Interface)
module com (Component Object Model Interface)
Engine Component separate file IF/Prolog as COM Component

New startup parameters (apply to GUI interface only)

Parameter Description
-wshow Causes the main IF/Prolog is showed (e.g. when it was minimalised) on every write operation into this window. The default behavior is that the IF/Prolog main window is showed when waiting for the keyboard input.
-wmin Minimizes main window on start-up.
-nobanner Prevents from showing banner window on start-up.

Event Interface

This new module allows handling and raising events in IF/Prolog application to create interactive user interfaces.

New predicates in module system.nt.events

Demo Description
EventDemo IF/Prolog application with menu and toolbar
COM Interface This new module allows interaction between IF/Prolog applications and various COM components.

New predicates in module com

Demo Description
ADO Sample IF/Prolog application uses ADO to connect to a database
Excel Sample IF/Prolog application creates Excel table and Excel chart
Internet Explorer IF/Prolog application creates WWW page and loads into the Internet Explorer

Engine Component

Engine Component is the IF/Prolog application encapsulated as a COM component. You can use its methods (similar to C interface functions) to embed IF/Prolog into Visual Basic, Excel, Access and all other tools that supports COM.

Methods of the Engine Component:

	InitProlog		
	ParseProlog		
	PrologFetch
	EndProlog	
	PrologIsString	
	PrologIsInteger
	PrologIsFloat
	PrologIsComObject
	PrologString	
	PrologInteger
	PrologFloat
	PrologComObject
	Print

Demo Description
Shoes Sample Excel table contains parameters of the factory model, optimized production plan is calculated by Engine Component running constraint application.

Licensing of Applications

The license for your IF/Prolog Development System includes a license for the IF/Prolog Runtime System. Thus you can also run IF/Prolog applications.

In case you yourself develop IF/Prolog applications and plan to sell them to third parties, those applications require a Runtime License in order to run your applications.

There are two possibilities for third parties to obtain runtime licenses.

  1. Your customer can obtain his or her runtime license from your IF/Prolog vendor. In this case your customer will receive an IF/Prolog Runtime System that enables him or her to run any IF/Prolog application.
  2. The producer of an application may also obtain IF/Prolog runtime licenses for his or her customers. In this case you have to convey the respective machine identifications to your IF/Prolog vendor. To obtain the machine identifications from your customer you can either ship them the machid binary from your $PROROOT/bin directory or ask them to run a shell command. Which shell command to use is system dependent. Please get in touch with your IF/Prolog vendor for the correct command to use in your case.

Please also consult your IF/Prolog User's Guide on how to produce IF/Prolog applications. In any case, if you plan to produce an IF/Prolog application on a larger scale you should get in touch with your IF/Prolog vendor to agree about the most effective way for you to proceed.

Problem Reports

If you have a problem with IF/Prolog or if you suspect an error in IF/Prolog please send us a fax or report to us by electronic mail. There is a Problem Report form at the end of this document. In order that we can reproduce the error we need to know:

If you can, please include in your report a minimal example showing the effect you complain about.

Address

IF Computer
or
Siemens AG Austria
PSE KB211
Prolog Development
Gudrunstrasse 11
A-1100 Vienna
Austria Tel +43-1-1707 47051
prolog@siemens.at


next up previous
Next: IF/Prolog V5.2 Installation Guide Up: IF/Prolog V5.2 Manuals

IF Computer info@ifcomputer.com