Consider the following code snippet:
<%
If False Then
%>
<!-- #INCLUDE FILE="FunctionOne.inc"-->
<%
Else
%>
<!-- #INCLUDE FILE="FunctionTwo.inc"-->
<%
End If
%>
What would the above code load?
A. Only the FunctionTwo.inc file into the ASP page.
B. Both files, since Server Side Includes are processed
before ASP interpreting.
C. Only the FunctionOne.inc file into the ASP page.
D. Neither file, since Server Side Includes are processed
before ASP interpreting.
Out of the 4 given options, 'A' is the correct answer i.e. only FunctionTwo.inc will be loaded. Can somebody explain me why only FunctionTwo.inc will be loaded i.e. why option A is the correct answer among the 4 options given?
Thanks,
Arpan
<%
If False Then
%>
<!-- #INCLUDE FILE="FunctionOne.inc"-->
<%
Else
%>
<!-- #INCLUDE FILE="FunctionTwo.inc"-->
<%
End If
%>
What would the above code load?
A. Only the FunctionTwo.inc file into the ASP page.
B. Both files, since Server Side Includes are processed
before ASP interpreting.
C. Only the FunctionOne.inc file into the ASP page.
D. Neither file, since Server Side Includes are processed
before ASP interpreting.
Out of the 4 given options, 'A' is the correct answer i.e. only FunctionTwo.inc will be loaded. Can somebody explain me why only FunctionTwo.inc will be loaded i.e. why option A is the correct answer among the 4 options given?
Thanks,
Arpan