I'm refactoring my code and trying to cut down on repetition. I've got this working code
<% If tree <> "" or (info <> "" and info <> "links" and info <> "privacy" and info <> "talks") Then %>
write stuff
<% End If %>
I put the info variables into an array
Dim info(3)
info(0) = "Talks"
info(1) = "Privacy"
info(2) = "Links"
I'm unclear as to iterate through the array
<% If tree <> "" or (info <> "" and **info <> arrayInfo** Then %>
write stuff
<% End If %>
Little help. Thanks.