What is the difference between ByRef and ByVal.
When to use ByRef and ByVal

Answer Posted / cybergh0st

Byval refers to the actual value of the variable. ByRef
refers to the location of where the value is stored.
Passing.

Is This Answer Correct ?    44 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you compare two strings in vbscript?

594


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

1965


What is the use of the date function in the vbscript language?

564


How will you convert a given number to long in vbscript?

494


How to write VB script for login module?

2678






why variable name should not exceed 255 characters?

1817


How will you get a subset of a array in vbscript?

588


How are arrays declared in the vbscript language?

541


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

1819


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

1848


How you can call vbscript functions?

579


who will create the object?

1481


how to automatically update the sql server2005 database records when insert in vb6?

1487


Which constant is used for print and display functions and works as same as pressing enter key?

528


give me any information abou vb script books learn quckly

1657