B
Barton
Hello,
I just made to move to ASP. I have been developing in PHP the past two
years. I must say that I'm a little disappointed in the quality of the
beginners tutorials. They don't go further then teaching
<% Response.Write("Hello World") %>
I also lack an official website with all ASP commands explained, like
you have php.net for PHP.
Anyway, here I go, this piece of code contains a bug:
If (lang2 = "DUT" OR lang2 = "dut" OR lang2 = "NL" OR lang2 = "nl")
Then (
left = "column_left_nl.html"
top = "top_nl.html"
)
Else if (lang2 = "FRE" OR lang2 = "fre" OR lang2 = "FR" OR
lang2 = "fr") Then (
left = "column_left_fr.html"
top = "top_fr.html"
)
Else if (lang2 = "ENG" OR lang2 = "eng") Then (
left = "column_left_eng.html"
top = "top_eng.html"
)
End If
There is no tutorial that explains me whether to use brackets or not
and which kind of brackets I should use. So, do I need all these
brackets?
And why is:
lang = "DUT"
a declaration, and a couple lines further a comparison?
I'm really confused, please help me out.
Greetz,
Barton
I just made to move to ASP. I have been developing in PHP the past two
years. I must say that I'm a little disappointed in the quality of the
beginners tutorials. They don't go further then teaching
<% Response.Write("Hello World") %>
I also lack an official website with all ASP commands explained, like
you have php.net for PHP.
Anyway, here I go, this piece of code contains a bug:
If (lang2 = "DUT" OR lang2 = "dut" OR lang2 = "NL" OR lang2 = "nl")
Then (
left = "column_left_nl.html"
top = "top_nl.html"
)
Else if (lang2 = "FRE" OR lang2 = "fre" OR lang2 = "FR" OR
lang2 = "fr") Then (
left = "column_left_fr.html"
top = "top_fr.html"
)
Else if (lang2 = "ENG" OR lang2 = "eng") Then (
left = "column_left_eng.html"
top = "top_eng.html"
)
End If
There is no tutorial that explains me whether to use brackets or not
and which kind of brackets I should use. So, do I need all these
brackets?
And why is:
lang = "DUT"
a declaration, and a couple lines further a comparison?
I'm really confused, please help me out.
Greetz,
Barton