Previous Topic

Next Topic

Book Contents

Book Index

Variable Formatting Strings

Expression Variables may be formatted using the basic syntax

format="<format_string>" (<expression>)

The format string determines the display of the resulting expression.

The standard edit string elements are listed below. There are three basic types of edit operands:

Date formatting

Numeric formatting

Alphanumeric formatting

Each type has its own edit string elements. To repeat an edit string element, append to the string element character the number of instances of that character, with the number bracketed by parentheses. For example, to print an alphanumeric field of 5 characters use "X(5)" instead of "XXXXX". The various types are detailed in the following charts.

In This Section

Date Formatting

Numeric Formatting

Alphanumeric Formatting

See Also

Using Variables in EnterpriseSCHEDULE

Variable Expressions

String Variables

Temporary Variables

Date Variable Example