What is the Difference between a sub and a function?

Answer Posted / aaa

Function returns a value, Sub doesn't.
Function can be called from within a cell, similar to
=Today() function.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between an interface and an abstract class in .net?

524


What is the difference between asp.net & vb.net and explain architecture?

542


What does stateless mean?

641


How is a managed code executed?

716


What is the use com component in .net?

587






Please explain the difference between constants and read-only variables?

547


Explain me what is a design pattern and what is it for?

585


What is meant by globalization and localization?

587


In code behind class, name the type of code found. Is it the server side code or client side code?

782


What is new in .net core?

490


What is .net latest version?

552


What is your observations between vb.net and vc#.net?

547


If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.

544


Explain what is the difference between response.redirect & server.transfer?

554


Tell me about secure socket layer? How to make use of the technology?

555