Thread: ASP Links
View Single Post
Old 11-09-2004, 12:01 PM   #8 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
In VB if you have an if/then statement there can be multiple lines you just have to follow it with an end if

For example:

These 2 statements are valid:
Code:
If strVar <> "" Then Response.Write(strVar)

If strVar <> "" Then
  Response.Write(strVar)
End If
This is invalid and will throw a compile error:
Code:
If strVar <> "" Then
  Response.Write(strVar)
__________________
~Ryan

rdove is offline   Reply With Quote