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

am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1273


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2252


What are the methods of the TextStream object that are used for reading from a text file?

1685


How to analyzing test results using quicktest professional?

560


i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

1543






What are the different attribute used with regular expression?

527


What are the flaws in water fall model and how to overcome it?

555


Can any one send me the QTP Basic Coding Samples?

1607


Dis advantages of XML checkpoint ?

1573


What is checkpoints for qtp?

522


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1454


How is test case write?

568


Why to use descriptive programming?

556


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1711


What are metrics and matrix?

1359