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
i need to sort the data using qtp script for this how i need to write a qtp script
How many types of procedures are available in the vbscript language?
Explain about tristate constants?
Mention what is byref and byval parameters in vbscript?
Explain the functionality of vbscript?
Mention what are the rules to name variable in vbscript?
What is difference between vbscript and vba?
Explain about the asc function?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Explain about the support of asp for vb script functionality?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
Does VB/Win make standalone .EXE files?
How will you get a string with the specified character the specified number of times in vbscript?
Explain the string concatenation function in vbscript?