Double-words are 32-bit (four byte)
unsigned
Double-word variables are identified by following the variable name with three question marks (i.e., var???), or by using the DEFDWD statement as described in the previous discussion of Integers. You can also declare Double word variables using the DWORD keyword with the DIM statement. For example:
DIM I AS DWORD
As for Word values and
Integers, Double-word values have a larger positive range than a Long-integer,
and still require only four bytes. Double-word values are useful
for indicating absolute memory addresses, such as may be used to store
A PowerBASIC Double-word is equivalent to a UINT32 in C/C++. In 32-bit C/C++ code, a UINT is also equivalent to a PowerBASIC Double-word variable. Note that 16-bit C/C++ code uses UINT to describe a 16-bit Word variable.
A C++ unsigned int and a Delphi longword are equivalent to a PowerBASIC Double-word.
See Also