asp oddness , why specify ASP twice

D

davidj411

for some reason this code works:
*********************************************
<%@ LANGUAGE = Python%>
<%
Response.Write ("test")
%>
*********************************************


but this code does NOT:
*********************************************
<%@ LANGUAGE = Python
Response.Write ("test")
%>
*********************************************

the difference between the two is that i remove "%>" from the first
line and removed "<%" from the next line.
it would seem that this should put all the code into one "ASP block"
but for some reason it does not run.

any ideas? thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top