Functions Don't Have Return Types
Written by Eric Smith, Northstar Computer Systems LLC
If you're a VB programmer, one of the hardest things to get used to is to not provide a return type for your VBScript functions, as you might do in VB as follows:
Function DoSomething(arg1 as Integer) As Boolean
All functions automatically return variants, which can hold both simple data types and objects. If you're returning an object, remember to Set the function name to your object.
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 7/1/1999
|