Expected 'End'

Runtime Errors, Syntax Errors Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Expected 'End'

You created a construct, but did not properly terminate it. The following table lists the VBScript constructs that must end with an End statement.

ConstructTerminating Statement
SubEnd Sub
FunctionEnd Function
IfEnd If
ClassEnd Class
WithEnd With
SelectEnd Select

To correct this error

  • Terminate a Sub procedure with an associated End Sub statement.
  • Terminate a Function procedure with an associated End Function statement.
  • Terminate a If statement with an associated End If statement.
  • Terminate a Class statement with an associated End Class statement.
  • Terminate a With statement with an associated End With statement.
  • Terminate a Select Statement with an associated End Select statement.
See Also

Sub Statement | Function Statement


VBScriptOnline.com - Runtime Errors, Syntax Errors