ByRef

Passing Multiple Values from Functions

by Anshoo Arora ON August 10, 2009 · Posted In All, QTP, VBScript · 3 comments

In this topic we will learn how to pass 2 or more values from function using Global Variables, Arrays, Dictionary Objects, Concatenated Strings and with the use of ByRef.

Passing Parameters ByRef & ByVal (Revised)

by Anshoo Arora ON August 10, 2009 · Posted In All, QTP, VBScript · 17 comments

This article demonstrates the differences between ByRef and ByVal in VBScript. It will also provide the pros and cons and excellent examples to get you started immediately.