Categoria: Getting Started

The Original Internet Language

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 To Construct a Validation Rule for Numeric Fields

The available pattern symbols for constructing numeric validation rules are digits used to form specific numbers. Numbers indicate value(s) to which the input data must conform. +, – used to specify the sign of a number. period used as a decimal point. The available syntax characters for constructing numeric validation rules are – Denote a…
Leia mais

How To Call Procedures

The syntax of a call to a procedure is procname («expression») Parameters procname The name assigned to the procedure in its PROCEDURE or LOCALPROCEDURE command. expression Any value expression. Comments The list of expressions must be enclosed in parentheses; even when no expressions are required, the parentheses must still appear. At the prompt level, you…
Leia mais

How To Use Logic Expressions

A logic expression is an expression that, when evaluated, yields either a $True or a $False result. Logic expressions are subdivided into conditional expressions and Boolean expressions. How To Construct Conditional Expressions A conditional expression is a complex logic expression that consists of two value expressions and an associated conditional operator. The conditional operator performs…
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

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 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

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

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

pt_BRPortuguese