S Stanley Mar 4, 2004 #2 [function] Function MyFunction(param1 as object) as object 'do something return myValue End Function [/function] To call a function you simply call it's name. In the case of the function above it has a parameter so I have to give it the parameter too. dim myResults as object = MyFunction(NewObject) Try going here: http://www.asp.net/Tutorials/quickstart.aspx It is the Quickstart pages that will help you learn. Just do them all one by one. -Stanley
[function] Function MyFunction(param1 as object) as object 'do something return myValue End Function [/function] To call a function you simply call it's name. In the case of the function above it has a parameter so I have to give it the parameter too. dim myResults as object = MyFunction(NewObject) Try going here: http://www.asp.net/Tutorials/quickstart.aspx It is the Quickstart pages that will help you learn. Just do them all one by one. -Stanley