Hi,
I'm a newbie. I have multiple lines of asp code:
ie.
<% if inStr(myvar,"A"
then Response.write("selected"
End if %>
<% if inStr(myvar,"B"
then Response.write("selected"
End if %>
<% if inStr(myvar,"C"
then Response.write("selected"
End if %>
Would it be better to use only one set of brackets?
<%
if inStr(myvar,"A"
then Response.write("selected"
End if
if inStr(myvar,"B"
then Response.write("selected"
End if
if inStr(myvar,"C"
then Response.write("selected"
End if
%>
Thanks,
PuterDude
I'm a newbie. I have multiple lines of asp code:
ie.
<% if inStr(myvar,"A"
<% if inStr(myvar,"B"
<% if inStr(myvar,"C"
Would it be better to use only one set of brackets?
<%
if inStr(myvar,"A"
if inStr(myvar,"B"
if inStr(myvar,"C"
%>
Thanks,
PuterDude