08-26-2009, 01:23 PM
It is through Byref,
this will return the var1 value back as a variable. There is nothing called Return statement in Vbscript unlike Winrunner.
Code:
Function func1 (Byref var1)
auto var1
var1 = "abc"
End function
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.