HP 3000 Manuals

REAL [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

REAL 

This statement defines a variable as a type REAL. If the SHORT option is
used with it, the variable is type SHORT REAL.

Syntax 

             {num_var} [  {num_var}]
[SHORT] REAL {arrayd } [, {arrayd }]...

Parameters 

num_var          Name of scalar numeric variable to be declared.

arrayd           Numeric array description.  The syntax for the array is
                 described under the DIM statement.

Examples 

The following examples show the REAL and SHORT REAL statements.

     100 SHORT REAL Fraction
     120 SHORT REAL Reading1, Reading2(36,36)
     130 REAL Distance
     140 REAL Time1(0:35,1:36,3),Time2



MPE/iX 5.0 Documentation