I have below user Defained function

function AddTwo(ByVal a, ByVal b)
Dim Ans
Ans=a+b
MsgBox Ans
End function
Now my question comes here...from given below methods which
method is right to call above function?Which is Wrong and why?
1. AddTwo(2,4)
2. Call AddTwo(2,4)
3. AddTwo 2,4
4. Call AddTwo 2,4

Answer Posted / sisira

 Call AddTwo(2,4)
 AddTwo 2,4
these two ans are true





Thanks
sisira

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ordinal identifiers in web page?

648


How to handle dynamic objects in quicktest professional (qtp)?

555


What is the difference between qtp and selenium?

558


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1497


How the exception handling can be done using quicktest professional?

550






Can U Explain about QTP tool from older version to latest version also its differences?

1534


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2810


Both static and dynamic arrays are handled by the vb script. Is it true?

572


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1522


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1430


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1332


how do i know how to use tools

1462


Through array we can execute the testcase how ? give me example

1410


What is the new version of qtp which is recently released in the market?

646


Define Canvas view of UFT?

626