2 Imports Microsoft.VisualBasic
\r
4 Module AssignmentStatementsB
\r
10 Dim i As Integer = 0
\r
11 Dim str As String = "Hello "
\r
14 If b <> CByte(1) Then
\r
15 Throw New Exception("#ASB1-Assignment Statement Failed")
\r
19 If b <> CByte(1) Then
\r
20 Throw New Exception("#ASB2-Assignment Statement Failed")
\r
24 If b <> CByte(1) Then
\r
25 Throw New Exception("#ASB3-Assignment Statement Failed")
\r
29 If ch <> CChar("aA") Then
\r
30 Throw New Exception("#ASB4-Assignment Statement Failed")
\r
34 If str <> "Hello World" Then
\r
35 Throw New Exception("#ASB5-Assignment Statement Failed")
\r
40 Throw New Exception("#ASB6-Assignment Statement Failed")
\r