RAD Studio
|
Category
Keyword extensions
Description
You can specify the size for integer types. You must use the appropriate suffix when using extended integers.
Type |
Suffix |
Example |
Storage |
__int8 |
i8 |
__int8 c = 127i8; |
8 bits |
__int16 |
i16 |
__int16 s = 32767i16; |
16 bits |
__int32 |
i32 |
__int32 i = 123456789i32; |
32 bits |
__int64 |
i64 |
__int64 big = 12345654321i64; |
64 bits |
unsigned __int64 |
ui64 |
unsigned __int64 hugeInt = 1234567887654321ui64; |
64 bits |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|