Basic Form of the DATA Statement

You use the basic form of the DATA statement to define internal variables in your program. The syntax is as follows:

Syntax

DATA <f>[(<length>)] <type> [<value>] [<decimals>].

In its basic form, the keyword DATA has the following parameters:

Parameters

Purpose

<f>

Declaring Variables

<length> <type>

Specifying the Data Type and the Length of the Variable

<value>

Specifying the Initial Value

<decimals>

Specifying the Decimal Places