Declaring Variable Data Types
Written by Eric Smith, Northstar Computer Systems LLC
VBScript doesn't have any data types other than Variant, but there's no reason you can't think of variables as having data types. If you declare the data type in a comment following the variable declaration, it will help you keep things straight, as shown here:
Dim rsData ' As ADODB.Recordset
Dim intLoop ' As Integer
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 6/1/2000
|