Categoria: Constructing Statements

The Original Internet Language

Callback Events

Callback Events A “callback event” (or simply an “event”) is an interaction, between the end-user and the application interface, that causes a FORM INPUT or MENU INPUT command to terminate, and control to pass the next command in the executing program. There are two types of potential events that can occur: object dependent and object independent. Event Type Description Object Independent Established by the Zim language commands FORM…
Leia mais

How To Name Objects

Names for objects defined in the Object Dictionary must conform to the following conventions: The name can be from 1 to 18 characters in length. The name can contain only letters (a-z, A-Z), digits (0-9), dollar signs ($), and underscores (_). The name must begin with a letter or a dollar sign. Most names must…
Leia mais

How Macros Acquire Values

A macro acquires a value in one of two ways: implicitly when the software encounters a call to a previously unknown global macro, or when a local macro is unassigned in a macro call program explicitly in a LET or INPUT command (global or local macros), or in a call to a procedure (local macros…
Leia mais

Macros and Compiled Programs

Macro substitution takes place only when the software is parsing a source (uncompiled) program. During compilation, the software parses the source code and performs macro substitution based on current macro values. The resulting commands are then compile and stored in compiled form. When the compiled program is executed, its source code is not parsed again.…
Leia mais

Macro Substitution

A macro can appear anywhere and can be repeated any number of times in an application program. Each time the software encounters a call to the macro, it substitutes the current character string value of the macro. Substitution takes place one command at a time, before each command is executed. To view these substitutions as…
Leia mais

About Macros

A macro is a dynamically declared name that represents a character string. When a macro call is encountered in an application program the macro call is replaced by the current character string value of the macro. Macros are sometimes called replacement parameters or substitution variables. The following topics discuss how to work with macros in…
Leia mais

About Macros

A macro is a dynamically declared name that represents a character string. When a macro call is encountered in an application program the macro call is replaced by the current character string value of the macro. Macros are sometimes called replacement parameters or substitution variables. The following topics discuss how to work with macros in…
Leia mais

How To Construct Logic Expressions

Logic expressions represent true or false circumstances. Logic expressions typically consist of at least two arguments (usually value expressions) combined using conditional operators (conditional expressions), Boolean operators (Boolean expressions), or both. Logic expressions can be quite complex. Parentheses can be used to explicitly control the order of evaluation in complex logic expressions. When a statement…
Leia mais

How To Construct a Validation Rule for Alphanumeric Fields

The available pattern symbols for constructing alphanumeric validation rules are A stands for any letter (A-Z, a-z) X stands for any letter or digit (A-Z, a-z, 0-9) 9 stands for any digit (0-9) Z stands for any digit or blank (0-9, the space character) (all others) exact match. To obtain an exact match for A,…
Leia mais

How To Use Data Masks

Three types of data masks are available: output masks, display masks and input masks. Output Masks An output mask is used to format the data value of a field in a list, report or output command. The output mask of a field is defined by its FieldMask attribute. An explicit output mask can be applied…
Leia mais

pt_BRPortuguese