$CONSOLE:ONLY

DIM m(3) AS _MEM

DIM s(3) AS STRING
DIM s2(3) AS STRING * 8

DIM b(3) AS _BIT
DIM b2(3) AS _UNSIGNED _BIT

DIM bn(3) AS _BIT * 7
DIM bn2(3) AS _UNSIGNED _BIT * 7

DIM byt(3) AS _BYTE
DIM byt2(3) AS _UNSIGNED _BYTE

DIM i64(3) AS _INTEGER64
DIM i64_2(3) AS _UNSIGNED _INTEGER64

DIM o(3) AS _OFFSET
DIM o2(3) AS _UNSIGNED _OFFSET

DIM i(3) AS INTEGER
DIM i2(3) AS _UNSIGNED INTEGER

DIM l(3) AS LONG
DIM l2(3) AS _UNSIGNED LONG

DIM si(3) AS SINGLE
DIM d(3) AS DOUBLE
DIM f(3) AS _FLOAT

' Just check a few of them
s2(1) = "HI"
b(1) = -1
bn(1) = 20
byt(1) = 50
i64(1) = 23456
i(1) = 70
l(1) = 80
si(1) = 2.2
d(1) = 2.4
f(1) = 2.8

PRINT "TEST: "; s2(1); b(1); bn(1); byt(1); i64(1); i(1); l(1); si(1); d(1); f(1)

SYSTEM

