Hi there everbody,
I was wondering if anyone could tell me what the answer to this question is......? I have been battling for ages and just can't work it out....a,b,c,d or e?
Dim I1 As Integer
Dim D1 As Double
Dim dte As Date
Try
dte = #4/1/2002#
I1 = dte.AddSeconds(-0.75).Day
D1 = I1 / (I1 - 1)
Exit Try
I1 = I1 * 2
Catch
I1 = 1000
Finally
Debug.WriteLine("I1 = " & I1)
End Try
What is the output from this code sample?
a. I1 = 62
b. I1 = 2
c. I1 = 1000
d. I1 = 31
e. No output will be generated by this code sample.
I was wondering if anyone could tell me what the answer to this question is......? I have been battling for ages and just can't work it out....a,b,c,d or e?
Dim I1 As Integer
Dim D1 As Double
Dim dte As Date
Try
dte = #4/1/2002#
I1 = dte.AddSeconds(-0.75).Day
D1 = I1 / (I1 - 1)
Exit Try
I1 = I1 * 2
Catch
I1 = 1000
Finally
Debug.WriteLine("I1 = " & I1)
End Try
What is the output from this code sample?
a. I1 = 62
b. I1 = 2
c. I1 = 1000
d. I1 = 31
e. No output will be generated by this code sample.