Int8 Data Type

Holds signed 8-bit (1-byte) integer values in the range −128 – +127.


Default value
When you declare a variable of type Int8 and do not initialize it,, its default value is zero (0).
Int8 widens to Int16, Int32, Int, Int64, Int128, Real32, Real64, Real, or Real128 without risk of overflow.
Type characters
Int8 has no type characters.

Shared methods and properties

Int8.Bits As Int
Returns the number of available bits. This is always 8.
Int8.Default As Int8
Returns the default value, 0.
Int8.Max As Int8
Returns the maximum positive value.
Int8.Min As Int8
Returns the minimum negative value.
Int8.Parse(str As String, Optional #fmt As Format) As Int8
Tries to parse a string that shows as an integer.
If #fmt is not given or is #Null, then it tries to parse str as a decimal (base-10) integer. Or you can be explicit with Format.#Base10.


Dim foo As Int8

See also