What is the difference in between function and sub as well as
give some code of both

Answer Posted / mukesh

The main difference is that a Function Returns a value but a
Sub do not

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to customize checkpoints with parameters?

3008


How can I import environment from a file on disk?

522


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1405


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

550


Describe the differences between functions and actions in UFT?

596






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

1383


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1850


In qtp, how you can use xpath to identify objects?

595


breef description of batch testing ?

1697


What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?

577


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

1606


Why bpt?

576


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

549


Explain the concept of how quicktest professional (qtp) identifies object?

561


Get the count of files of similar types from a folder.

959