Navigation  without Java Scripts

Changes from Visual Prolog 5.1 to Visual Prolog 5.2

In the following sections, we present  changes from Visual Prolog 5.1 to Visual Prolog 5.2

Setup
Compiler
Prolog Library
Linker
VDE
VPI 
Debugger
Visual Prolog Packages
Examples
Linux Version of Visual Prolog 
SCO UNIX Version of Visual Prolog

Setup

By default, Visual Prolog is now installed in the Program Files\VIP52 directory.

In the previous versions, the default Visual Prolog directory was \VIP.
See Upgrade Notes.

Compiler

Visual Prolog Compiler, Linker and the VDE now handle filenames with spaces

Visual Prolog Compiler, Linker and the VDE now handle filenames with spaces at all 32-bit platforms, except OS/2.

This makes it available to install Visual Prolog into the directories, which names include spaces (e.g. "Program Files"), and to create projects in such directories.

See Upgrade Notes.

Improved "include" Directive

If a module contains several "include" directives for the same file, the file is included only once.

New Domain Handling Strategy

From VIP 5.2 the handling of global domains is improved, so that global domains no longer need to be included in all modules of a program.

 See detailed description.

New Class Declaration Handling Strategy

Class declarations no longer have to be included in each module (like global domains). 

Object Predicate Values

Declaring Domains inside Classes

Class System is now Compatible with COM 

Beginning with VIP 5.2 it is possible to use Visual Prolog classes for implementation of COM interfaces. Abstract class predicates can now have stdcall calling convention.
Please, see example in \VPI\Examples\MsCom.

Class System Bugs Have Been Fixed.

Warnings 590 and 591 are Now Treated as Errors

Former "590 Nondeterministic clause" and "591 Nondeterministic predicate" warnings are treated in Visual Prolog 5.2 as errors. See Upgrade Notes.

Prolog Library

Changes in File Handling Predicates

File handling predicates (filenameext, filenamepath, filenamereduce) in 32-bit platforms preserve now original case of arguments. 

Fixed Bugs in Standard Predicates

Bugs in the following  predicates have been fixed:

db_statistics
dirfiles
disk
readblock
trap

Linker

New Linker Option

-s<StackSize> Linker option that sets the initial stack size for the generated module to the specified StackSize number of bytes has been added.

Next Back to the list of sections