Variable Declaration

A variable-declaration has the following syntax.

name[, name, name...] : type;

The name must start with a lowercase letter.

The following example illustrates variable declarations.

vars
    count        : Integer;
    name         : String;
    cust1, cust2 : Customer;

Variables used in this way can then be used as working storage for values in the body of the method.

For details about promoting a local variable to be a property on the class and introducing an unknown local identifier as a local variable when editing a JADE method, see "Promoting a Local Variable to be a Property on the Current Class" and "Introducing an Unknown Local Identifier as a Local Variable", respectively, in Chapter 4 of the JADE Development Environment User’s Guide.