Int8
Int8 stores whole numbers from -128 through 127. Use it when an external format or layout specifically requires a signed 8-bit field.
local temperature: Int8 = -12local warmer = temperature + 2local label = `temperature={warmer}`Arithmetic keeps the exact Int8 type and traps on overflow. Both operands must be Int8; Pop does not silently promote one side.
local wide: Int = 100local compact = Int8(wide)Int8(value) performs a checked conversion and traps with NumericConversion when the value is outside the range.
