Skip to content

Instantly share code, notes, and snippets.

@askingalot
Last active January 2, 2016 03:59
Show Gist options
  • Save askingalot/8247791 to your computer and use it in GitHub Desktop.
Save askingalot/8247791 to your computer and use it in GitHub Desktop.
...haven't come across Enhancement I or II
If Request.Form("OpImpactType") <> "0" Then
Select Case Request.Form("direction")
Case "2"
opdir= "Southbound traffic is affected with "
Case "3"
opdir = "Northbound traffic is affected with "
Case "4"
opdir = "Westbound traffic is affected with "
Case "5"
opdir = "Eastbound traffic is affected with "
End Select
''Enhancement III
if GetImpact(cint(request.Form("OpImpactType"))) <> "none" Then
text = text & opdir & GetImpact(cint(request.Form("OpImpactType"))) & ". "
Else
text = text
end if
Else
End If
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment