Inline declaration from a packed computation

 home  example  edit

inline_packed_computation

Description

Finds inline declarations whose value is an arithmetic expression with calculation type p

Extended Information

The result of a computation with calculation type p has no length and number of decimals
that a declaration could take over, so DATA( ) or FINAL( ) gets the type p LENGTH 8 DECIMALS 0 and the
syntax check warns "For the result of a computation with type P, the type P(8,0) is used here implicitly".
Decimals of the operands are lost, and so are digits beyond the length.

Reported when at least one operand is packed and all other operands are of type i, int8 or p. Operands
of other types, generic or unknown types, and the operator ** are not reported.

Declare the variable with the operands' type, or name the type with CONV.

Default Configuration

Hover to see descriptions, Ctrl+Space for suggestions

Examples