What is the difference between ByRef and ByVal.
When to use ByRef and ByVal
Answer Posted / sagar mitra
ByRef refers to the location, ByVal refers to the actual value. Also, if you are passing parameters with "ByVal" then even if the parameter values are changed, the original argument values will remain intact. But if you pass using "ByRef" then if the parameter values are changed, then the original argument value is also modified
| Is This Answer Correct ? | 26 Yes | 1 No |
Post New Answer View All Answers
who will create the object?
what do you mean .ota mobile format
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Mention what if you do not specify anything when you call a procedure?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
Is VB Script Case sensitive or Case insensitive?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Write a Script for ATM in QTP
How strcomp function works?
Why to use option explicit in vb script?
Explain about tristate constants in vbscript?
regular expression that will recognize a browser as long as its name property starts with mybrowser
How will you release the memory acquired by an array variable in vbscript?
Explain How do you create a recordset object in vbscript?
filter the array values without using filter function?