UNSIGNED

From QB64 Wiki
Revision as of 20:39, 28 September 2009 by imported>Clippy
Jump to navigation Jump to search

The _UNSIGNED prefix means that the variable cannot take negative values only positive (over or equal to 0).


Syntax: [_UNSIGNED] datatype


datatype can be any of the following: INTEGER, SINGLE, DOUBLE, LONG, STRING, _BIT, _BYTE, _INTEGER64, _FLOAT


Example: DIM intvariable AS _UNSIGNED INTEGER



See also: DECLARE, SUB, FUNCTION, DIM, _DEFINE, DEFSTR, DEFLNG, DEFINT, DEFSNG, DEFDBL, ABS, SGN


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage