What is the difference between ByRef and ByVal.
When to use ByRef and ByVal
Answer Posted / akshitha
Arguments r of 2 types-
byval & byref
byval-when a method is called using by value & an argument
is passed & if the value of that argument is modified within
that method,orginal argument is not modified
byref-when a method is called by reference & an argument is
passed & if the value of that argument is modified within
that method,original argument is modified
Is This Answer Correct ? | 31 Yes | 12 No |
Post New Answer View All Answers
What are lbound and ubound in the vbscript language?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
What are class properties?
Mention when to use function procedures and what are its characteristics?
How will you get a string with the specified character the specified number of times in vbscript?
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
How to declare an array in vbscript?
What are the advantages of vbscript?
Explain about scrrun.dll?
What if you do not specify anything when you call a procedure?
How are arrays declared in the vbscript language?
What is the use of option explicit in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Which constant is used for print and display functions and works as same as pressing enter key?
Explain the functionality of vbscript?