Revision history for KeyPgUinteger


Revision [22017]

Last edited on 2017-11-21 01:11:52 by JeffMarshall [fix page link name case]
Additions:
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftLeft|Shl]] (//bits//)) - 1##. The selected data type is ##[[KeyPgUbyte|UByte]]## for **UInteger<8>**, ##[[KeyPgUshort|UShort]]## for **UInteger<16>**, ##[[KeyPgUlong|ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint|ULongInt]]## for **UInteger<64>**.
Deletions:
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft|Shl]] (//bits//)) - 1##. The selected data type is ##[[KeyPgUbyte|UByte]]## for **UInteger<8>**, ##[[KeyPgUshort|UShort]]## for **UInteger<16>**, ##[[KeyPgUlong|ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint|ULongInt]]## for **UInteger<64>**.


Revision [21765]

Edited on 2017-06-04 06:54:24 by CountingPine [Equivalent to Unsigned Integer]
Additions:
Standard data type: 32-bit or 64-bit unsigned, same size as ##[[KeyPgSizeof|SizeOf]]([[KeyPgAny|Any]] [[KeyPgPtr|Ptr]])##.
Equivalent to ##[[KeyPgUnsigned|Unsigned]] [[KeyPgInteger|Integer]]##.
Deletions:
Standard data type: 32-bit or 64-bit unsigned, same size as ##[[KeyPgSizeof|SizeOf]]([[KeyPgAny|Any]] [[KeyPgPtr|Ptr]])##


Revision [21557]

Edited on 2016-08-15 13:21:12 by DkLwikki [Combine uinteger<N> paragraphs]
Additions:
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft|Shl]] (//bits//)) - 1##. The selected data type is ##[[KeyPgUbyte|UByte]]## for **UInteger<8>**, ##[[KeyPgUshort|UShort]]## for **UInteger<16>**, ##[[KeyPgUlong|ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint|ULongInt]]## for **UInteger<64>**.
Deletions:
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft|Shl]] (//bits//)) - 1##.
The selected data type is ##[[KeyPgUbyte|UByte]]## for **UInteger<8>**, ##[[KeyPgUshort|UShort]]## for **UInteger<16>**, ##[[KeyPgUlong|ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint|ULongInt]]## for **UInteger<64>**.


Revision [20568]

Edited on 2016-02-10 16:09:59 by DkLwikki [Update link format]
Additions:
Standard data type: 32-bit or 64-bit unsigned, same size as ##[[KeyPgSizeof|SizeOf]]([[KeyPgAny|Any]] [[KeyPgPtr|Ptr]])##
[[KeyPgDim|dim]] //variable// [[KeyPgAs|as]] **Uinteger**
[[KeyPgDim|dim]] //variable// [[KeyPgAs|as]] **Uinteger**<//bits//>
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft|Shl]] (//bits//)) - 1##.
The selected data type is ##[[KeyPgUbyte|UByte]]## for **UInteger<8>**, ##[[KeyPgUshort|UShort]]## for **UInteger<16>**, ##[[KeyPgUlong|ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint|ULongInt]]## for **UInteger<64>**.
- Not available in the //[[CompilerOptlang|-lang qb]]// dialect unless referenced with the alias ##**""__Uinteger""**##.
- ##[[KeyPgInteger|Integer]]##
- ##[[KeyPgUnsigned|Unsigned]]##
- ##[[KeyPgCuint|Cuint]]##
Deletions:
Standard data type: 32-bit or 64-bit unsigned, same size as ##[[KeyPgSizeof SizeOf]]([[KeyPgAny Any]] [[KeyPgPtr Ptr]])##
[[KeyPgDim dim]] //variable// [[KeyPgAs as]] **Uinteger**
[[KeyPgDim dim]] //variable// [[KeyPgAs as]] **Uinteger**<//bits//>
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft Shl]] (//bits//)) - 1##.
The selected data type is ##[[KeyPgUbyte UByte]]## for **UInteger<8>**, ##[[KeyPgUshort UShort]]## for **UInteger<16>**, ##[[KeyPgUlong ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint ULongInt]]## for **UInteger<64>**.
- Not available in the //[[CompilerOptlang -lang qb]]// dialect unless referenced with the alias ##**""__Uinteger""**##.
- ##[[KeyPgInteger Integer]]##
- ##[[KeyPgUnsigned Unsigned]]##
- ##[[KeyPgCuint Cuint]]##


Revision [19861]

Edited on 2016-02-06 04:36:11 by fxm [Correspondance between UInteger<bits> / dat]
Additions:
The selected data type is ##[[KeyPgUbyte UByte]]## for **UInteger<8>**, ##[[KeyPgUshort UShort]]## for **UInteger<16>**, ##[[KeyPgUlong ULong]]## for **UInteger<32>** and ##[[KeyPgUlongint ULongInt]]## for **UInteger<64>**.


Revision [16681]

Edited on 2013-03-27 20:44:42 by DkLwikki [Update for 64bit branch]
Additions:
Standard data type: 32-bit or 64-bit unsigned, same size as ##[[KeyPgSizeof SizeOf]]([[KeyPgAny Any]] [[KeyPgPtr Ptr]])##
32-bit or 64-bit unsigned whole-number data type, depending on the platform.

If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft Shl]] (//bits//)) - 1##.
#if __FB_64BIT__
Dim x As UInteger = 0
Dim y As UInteger = &HFFFFFFFFFFFFFFFF;
Print "UInteger Range = "; x; " to "; y
#else
Dim x As UInteger = 0
Dim y As UInteger = &HFFFFFFFF;
Print "UInteger Range = "; x; " to "; y
#endif%%
Deletions:
Standard data type: 32 bit unsigned
32-bit unsigned whole-number data type. Can hold values from ##0## to ##4294967295##.
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft Shl]] (//bits)) - 1##.
Dim x As UInteger = 0
Dim y As UInteger = &HFFFFFFFF;
Print "UInteger Range = "; x; " to "; y
%%
**Output:**
%%UInteger Range = 0 to 4294967295%%


Revision [16593]

Edited on 2013-02-23 19:34:19 by CountingPine [New feature: UInteger<n>]
Additions:
[[KeyPgDim dim]] //variable// [[KeyPgAs as]] **Uinteger**<//bits//>
{{fbdoc item="param"}}
##//bits//##
A numeric constant expression indicating the size in bits of unsigned integer desired. The values allowed are ##8##, ##16##, ##32## or ##64##.
32-bit unsigned whole-number data type. Can hold values from ##0## to ##4294967295##.
If an explicit bit size is given, a data type is provided that can hold values from ##0## up to ##(1ULL [[KeyPgOpShiftleft Shl]] (//bits)) - 1##.
**Output:**
%%UInteger Range = 0 to 4294967295%%
- ##[[KeyPgUnsigned Unsigned]]##
Deletions:
32-bit unsigned whole-number data type. Can hold values from 0 to 4294967295.
**Output:**
%%UInteger Range = 0 to 4294967295%%


Revision [14456]

Edited on 2009-08-29 21:57:25 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]
Additions:
- New to ""FreeBASIC""
Deletions:
- New to FreeBASIC


Revision [13204]

The oldest known version of this page was created on 2008-04-24 15:45:17 by JeffMarshall [Remove CamelCase links in "New to FreeBASIC"]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode