Word

From Free Pascal wiki
Revision as of 21:37, 27 April 2013 by Jwdietrich (talk | contribs) (moved word to Word: Uniform naming)
Jump to navigationJump to search

A Word is a 16 bits unsigned integer value. Its maximal value is 2^16 and its minimal value is 0.

Nowadays Words are rarely used in arithmetic operations (because most of the CPU have some 32 bit registers, if not 64), but they can be encountered in some API to encode some flags with logicals operations (like in a set).


navigation bar: data types
simple data types

boolean byte cardinal char currency double dword extended int8 int16 int32 int64 integer longint real shortint single smallint pointer qword word

complex data types

array class object record set string shortstring