Friday, October 5, 2007

How to work with integer types

How to work with integer types

To work with integer types

Step1

Description:

Fundamental integer types include Shortint, Smallint, Longint, Int64, Byte, Word, and Longword.

Declaration:

Type Range

Shortint –128..127

Smallint –32768..32767

Longint –2147483648..2147483647

Int64 –2^63..2^63–1

Byte 0..255

Word 0..65535

Longword 0..4294967295

Example:

var

a:integer;

b:integer;

c:integer;

No comments: