What is difference between function and procedure?

Answer Posted / archana das

1> A function can only return a value ,but procedure return
multiple values (max 1024).
2> A function is normally used for computations whereas a
procedure is used for executing business logic.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is active screen?

553


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1464


What ate the Technologies supported by QTP?

633


How to check feasibility of the appliction?in automation testing?

1459


Have you faced any problems with object repository?

578






Explain in brief about the quicktest professional automation object model?

494


What is the difference between run time object and test object?

566


What are the ordinal identifiers in web page?

620


Please guide me release notes of Automation once scripts are completed

1444


What is the architecture of your project? Can any one answer for this question plz........

1399


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1562


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2512


Explain the differences between table and db checkpoints?

560


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1540


how to do the batch testing in test director using manual testing procedure?

1766