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
How to pass argument by reference to a function in vbscript?
How to access array data?
Which constant is used for print and display functions and works as same as pressing enter key?
write a program to display configuration of a local system with the help of vb script.
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
What are the different types of loops available in the vbscript language?
How to assign a numeric value to a variable?
how does vb script help in web page designing? explain with example.
How to create a function in vbscript?
How are arrays declared in the vbscript language?
Explain the functionality of vbscript?
Explain about constants in vb script?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
Explain about scrrun.dll in vbscript?