Операционная среда Elementary PzlStudio: различия между версиями

Материал из wikiru.visual-prolog.com

(Новая: The Visual Prolog (VIP) product consists of several elements. It has an interactive Integrated Development Environment (IDE), which includes text and various resource editors, code gene...)
(нет различий)

Версия 08:43, 28 октября 2007

The Visual Prolog (VIP) product consists of several elements. It has an interactive Integrated Development Environment (IDE), which includes text and various resource editors, code generating and code viewing tools (Code Experts), build control logic (Make facility), etc. The IDE uses various command line tools: command line Visual Prolog compiler, command line Visual Prolog (or Microsoft) linker, this Visual Prolog help.

The Integrated Development Environment is designed to make it easy, convenient, and fast to develop, to test, and to modify applications written in Visual Prolog. It supports 32-bit Windows platforms MS Windows ME/NT/2000/XP using processors with the Intel Pentium architecture base family.

You start developing new projects from IDE's Project Settings. Here you specify the name for the project and modify some default project parameters like the UI Strategy type. Then you press the OK button and the Project Settings utility generates the default project. Now build this project. Notice that despite this default project does not provide any useful business functionality, it can be built and executed.

After a project is built, the tree of all project files is displayed in the Project window. The project tree displays all files created in the project and standard files used by the project. These are some import libraries, like Vip6init.lib, and some standard packages (the set of used standard packages depends upon the selected UI Strategy type) from Visual Prolog Foundation Classes (PFC).

The IDE provides Code Experts, resource editors, the text editor, the Code Browser, and other useful tools, which help to develop the project. The resource editors are used to define, layout, and edit windows, forms, dialogs, IDE controls, menus, toolbars, icons, cursors, and bitmaps. From these resources Code Experts generate the necessary Prolog source code framework to present these resources in some presentation space (i.e. in a window). This framework is always ready to be compiled, linked, and run.

At the programmer request, the Code Experts can bring up any part of its generated framework in an editor window for inspection and filling out with application logic to transform the framework into a useful application. Editing the code in the IDE text editor is greatly assisted by several commonly needed functions being available at a click of the right mouse button from a multilevel pop-up menu of editing, selecting, searching, replacing, and inserting functions. Much code can be accurately generated by the insert commands from the Insert submenu. These insert commands permit inserting: predicate templates for predicates from the PFC packages, for user-defined predicates, and for predicates handling created dialogs and windows; domain names; resource identifiers; VPI constants; filenames as obtained by directory browsing; Visual Prolog keywords; colors; and much more.