Category: ZIM 4GL Language Reference

The Original Internet Language

Where Compiled Programs Are Stored

The disk location of compiled programs is pertinent only if you are copying the application database to another location, managing disk space, or building a fully compiled application. Each compiled program is stored in a separate file with the same name as the source code file in a directory of the operating system that corresponds…
Read more

When to Use the Compiler

Once you have developed an application system, you have four alternative approaches to using it. You can choose not to compile any part of the application. You can compile the programs at any time during the development of your application. We recommend, however, that you test and debug all programs fully before compiling them, as…
Read more

About the Compiler

The Zim Compiler is used to compile application programs. The Compiler reads the programs that you have written (source code) and produces object code. The compiled code is placed into a disk file separate from the disk file that contains the source code. The compiled version of an application program is semantically equivalent to the…
Read more

Prerequisites for Compilation

To be compiled, an application program must meet the following requirements: The program can not include commands that assign values to macros such as let =’Employees’. The program cannot call local macros (i.e., to ). The program can call global macros (i.e., ), but the compiled version uses the value of the macro as it…
Read more

Compiling and Uncompiling Zim Programs

The COMPILE Command To compile an application program, issue a COMPILE command that names the application document containing the program. COMPILE <a-document-name> The COMPILE command reads the program, compiles it, and stores the compiled version in a separate disk file. The source program is then marked as being compiled. Thereafter, the compiled version of the…
Read more

Conventions

A number of conventions are used throughout this guide to indicate how to enter commands. These include: Key Combinations When you are to press two keys at the same time, they are written as Key1+Key2. This means that you should hold Key1 down and then press Key2. Command Syntax When the general syntax of a…
Read more

en_CAEnglish