Book Contents

Book Index

Development environment

The K2 system also includes an integrated editor of AM reports and PAS scripts and an object designer. The individual editors are described below.

Special reports and scripts can be stored both as files (most often in the K2 root directory ..\SESTAVYW\Special) and in the database.

Special modifications and form modifications can be implemented using the editor, which allows writing both structured and object-oriented code. The Pascal language is used for working in it.

In the editor, you can debug your code using breakpoints (see Picture Code completion), or find out the value of a variable using the watch list. Code completion (CTRL+Space) saves you long typing or remembering all functions, properties, etc. The editor also contains code templates (CTRL+J), which insert a pre-written construction.

pic_7117

Picture: Code completion

pic_7118

Picture: Watch list

pic_7119

Picture: Code templates

Other tools include e.g. messages (warnings and errors in the script), time profiler, memory profiler, DM explorer, object inspector etc.

pic_7120

Picture: Messages