What is wrong with the following code:
<%afname="header.asp"%><!?#include file ="<%=afname%>"?>



What is wrong with the following code: <%afname="header.asp"%><!?#include file =..

Answer / pankajbisane

Will not work because ASP executes the #include directive
before it assigns a value to the variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?

6 Answers   Nous,


How to copy from one script to another script in qtp

4 Answers  


Which function is used to perform string comparison?

0 Answers  


Explain the functionality of vbscript?

0 Answers  


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

0 Answers  


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

0 Answers  


accept a string & display whether a is present or not

1 Answers  


Explain the support of asp for vb script functionality?

0 Answers  


How are values assigned to string type and numeric type variables?

0 Answers  


how to add the shared repository file to the script file while running the script manuall

2 Answers  


Explain about scrrun.dll?

0 Answers  


Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..

10 Answers   Amazon, CSC,


Categories