Does vbscript or operator support?
I want to do the following code in vbscript, please help me
if a="address1" or b = "address2" then Response.Redirect("www.example.com") endif
You were very close:
If a = "address1" Or b = "address2" Then Response.Redirect("www.example.com") End If
Use parentheses to read ...
If (a = "address1") Or (b = "address2") Then Response.Redirect("www.example.com") End If
Source: https://habr.com/ru/post/1734136/More articles:The best way to schedule a task to run on the next iteration of a twisted loop reactor - pythonHow to convert xml to sqlite - xmlCan you have the module identifier as the same module type in Verilog? - verilogHow to debug a strange memory leak (C ++) - c ++SQL Server Reporting Services: Creating a Pareto Chart - sql-server-2005Why am I warning C4081 about this #pragma? - c ++Oracle LEADING Tip - Why Is It Required? - sqlNinject modules or wiring dependency organization - c #Automatically request a renewal of the default domain name when starting Djangos./manage.py syncdb? - pythonShould I do a WHOIS search with TcpClient.Connect () in C #? - c #All Articles