Categoria: ZIM 4GL Language Reference

The Original Internet Language

How to Call a Compiled Program

A compiled program is called in the same manner as any other application program. For example, if you have compiled a procedure program called RunTest, call it as follows RunTest () Appropriate expressions would be entered within the parentheses (if required). If it is necessary to run a program disregarding its compilation, the command: SET…
Leia mais

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…
Leia mais

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…
Leia mais

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…
Leia mais

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…
Leia mais

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…
Leia mais

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…
Leia mais

pt_BRPortuguese