2 REM ExpectedError: BC30512
3 REM ErrorMessage: Option Strict On disallows implicit conversions from 'Integer' to 'Boolean'.
8 Module LogicalOperatorsC3
11 Console.WriteLine(f())
14 Function f1() As Integer
15 Console.WriteLine("Function f1() is called")
19 Function f2() As Boolean
20 Console.WriteLine("Function f2() is called")
24 Function f() As Integer
26 a1 = f1() AndAlso f2()