Difference between revisions of "UNSIGNED"

From QB64 Wiki
Jump to navigation Jump to search
(Created page with 'The _UNSIGNED prefix means that the variable cannot take negative values only positive (over or equal to 0). ''Syntax:'' [_UNSIGNED] datatype ''Example:'' DIM intvaria…')
 
Line 5: Line 5:
  
  
 +
 +
datatype can be any of the following: [[INTEGER]], [[SINGLE]], [[DOUBLE]], [[LONG]], [[STRING]], [[_BIT]], [[_BYTE]], [[_INTEGER64]], [[_FLOAT]]
  
  

Revision as of 22:04, 27 September 2009

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: DIM, _DEFINE


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage