real

The real keyword is used to declare a real type variable or constant.

Syntax

The syntax is as follows:

real var [= iniExpression];

The var here must be an legal variable name.

Scope

It is used in the variable/constant declaration.

Semantics

Declare a real type variable/constant.

 


@2020-2022 Hao Wu. All rights reserved. Last update: March 17, 2022