What is the difference between ByRef and ByVal.
When to use ByRef and ByVal
Answer Posted / fgf
Small correction: we have to call the function
Function abc(ByRef var)
var=var+1
End Function
Dim x:x=2
Call abc(x)
Msgbox x
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
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
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.
How do you declare a variable in vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Which data type/types are supported by vbscript language and what are their specialties?
Illustrate briefly about the different types of statement
how to check whether link is disabled in QTP??
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
How can you destroy an object in vbscript?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
How to open browser in vb script?
How to replace junk code recorded by QTP with a mall function.
Explain the .wsf files?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...