2 Module ConditionalCompilation
6 'Testing #If,#Elseif, #Else and #End If block - Variation 1
9 Throw
New Exception("#B11-Conditional Compilation :Failed")
13 Throw
New Exception("#B12-Conditional Compilation :Failed")
17 Throw
New Exception("#B13-Conditional Compilation:Failed ")
20 Console
.WriteLine(e
.Message
)
24 'Testing #If,#Elseif, #Else and #End If block - Variation 2
29 Throw
New Exception("#B21-Conditional Compilation :Failed")
31 Throw
New Exception("#B22-Conditional Compilation :Failed")
35 Throw
New Exception("#B23-Conditional Compilation:Failed ")
38 Console
.WriteLine(e
.Message
)
42 'Testing #If,#Elseif, #Else and #End If block - Variation 3
45 Throw
New Exception("#B31-Conditional Compilation :Failed")
47 Throw
New Exception("#B32-Conditional Compilation :Failed")
53 Throw
New Exception("#B33-Conditional Compilation:Failed ")
56 Console
.WriteLine(e
.Message
)
60 'Testing #If,#Elseif, #Else and #End If block - Variation 4
64 Throw
New Exception("#B41-Conditional Compilation :Failed")
66 Throw
New Exception("#B42-Conditional Compilation :Failed")
70 Throw
New Exception("#B42-Conditional Compilation :Failed")
74 Throw
New Exception("#B33-Conditional Compilation:Failed ")
77 Console
.WriteLine(e
.Message
)
82 'Testing #If,#Elseif and #End If block - Variation 5
87 Throw
New Exception("#B51-Conditional Compilation :Failed")
89 Throw
New Exception("#B52-Conditional Compilation :Failed")
91 Throw
New Exception("#B53-Conditional Compilation :Failed")
95 Throw
New Exception("#B54-Conditional Compilation:Failed ")
98 Console
.WriteLine(e
.Message
)
102 'Testing #If,#Elseif and #End If block - Variation 6
105 Throw
New Exception("#B61-Conditional Compilation :Failed")
109 Throw
New Exception("#B63-Conditional Compilation :Failed")
113 Throw
New Exception("#B64-Conditional Compilation:Failed ")
116 Console
.WriteLine(e
.Message
)