11 ' Left shift operator tests
16 If a1
= 10 Then arr(0) = True
20 If a1
= 254 Then arr(1) = True
24 If a1
= 0 Then arr(2) = True
27 Dim b2
As Integer = -5
30 If b1
= 2560 Then arr(3) = True
34 If b1
= -2560 Then arr(4) = True
38 If b1
= -512 Then arr(5) = True
42 If b1
= 0 Then arr(6) = True
46 If b1
= 0 Then arr(7) = True
48 ' Right shift operator tests
53 If c1
= 2 Then arr(8) = True
57 If c1
= 127 Then arr(9) = True
61 If c1
= 0 Then arr(10) = True
66 If d1
= 0 Then arr(11) = True
70 If d1
= -1 Then arr(12) = True
74 If d1
= 4194303 Then arr(13) = True
78 If d1
= -4194304 Then arr(14) = True
82 If d1
= 0 Then arr(15) = True
84 'For i As Integer = 0 To arr.GetUpperBound(0)
85 ' Console.WriteLine("{0}: {1}", i, arr(i))
88 For Each bval
As Boolean In arr