Difference between revisions of "Integer"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Availability== SCAR Divi 3.00 > Current ==Description== Integer is a basic signed type which can hold a 32-bit value or 4-byte value. These values are part of the range [-2147...")
 
(No difference)

Latest revision as of 22:51, 19 October 2011

Availability

SCAR Divi 3.00 > Current

Description

Integer is a basic signed type which can hold a 32-bit value or 4-byte value. These values are part of the range [-2147483648, 2147483647].

Example

var
  Value: Integer;

begin
  Value := 5 + 6;
  if Value = 11 then
    WriteLn('5 + 6 = 11')
  else
    WriteLn('5 + 6 <> 11');
end.

Output:

5 + 6 = 11

See Also