UNSIGNED


Integer data type modifier

Syntax:
dim variable as Unsigned {integer-based data type}

Description:
Forces an integer-based data type to be unsigned (cannot contain negative numbers, but has its maximum value doubled).

Examples:
'e.g. notice what is displayed:

Dim x As Unsigned Integer
x = -1
Print x

'output is 4294967295


Dialect Differences:
Differences from QB:
See also:
Back to Standard Data Types
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode