if-statement syntax vbscript asp-classic | this question asked Dec 3 13 at 13:55 Max 1,515 9 32 53 5 Looks like it might not be built into the language, take a look at thisYou can then use this, as per your example: lunchLocation IIf(dayOfTheWeek "Tuesday", "Fuddruckers", "Food Court"). 25 Example of VBScript - Property Let, Property Get, Property Set 30.VBScript Looping Statements WE have four looping statements in VBScript ForNext 1). Visual Basic has an error handling mode which VBScript does not -- VB can branch to a labeled or numbered statement.Also, remember that the next in resume next mode is the next statement. Consider these two programs, for example. How to create a VBScript/ASP equivilant of the VB IIF statement.For example, VB has a handy function, IIf, which allows you to collapse several lines of Boolean logic into a single expression, like this Also, VBScript does not support the New syntax used with the Dim statement in Visual Basic for Applications.For more information, see ADO Code Examples in Microsoft Visual Basic Scripting Edition. VBScript Tutorials - Herongs Tutorial Examples - Version 5.24, by Dr. Herong Yang.