What is the difference between sub-procedure and function, DOT NET Programming

Assignment Help:

What is the main difference between sub-procedure and function?

The sub-procedure is a block of multiple visual basic statements within Sub and End Sub statements. It is used to perform definite tasks, such as changing properties of objects, receiving or processing data, and displaying an output. You can explain a sub-procedure anywhere in a program, like in modules, structures, and classes.

We can also give arguments in a sub-procedure; though, it does not return a new value.

The function is also a set of statements within the Function and End Function statements. It is same to sub-procedure and performs the similar task. The main difference among a function and a sub-procedure is that sub-procedures do not return a value while functions do.

 


Related Discussions:- What is the difference between sub-procedure and function

Seeking a senior extjs developer with strong net developing, Urgently seeki...

Urgently seeking a senior Extjs developer with strong NET developing skill Project Description: Urgently seeking a senior Extjs developer with strong NET developing skill

Develop a desktop - windows project, Project Description: The software i...

Project Description: The software is developed to help individuals train both their subconscious and conscious mind so they can improve their life and get more success. - How

Tfs - spirateam synchronization plug-in, We would like you to develop the s...

We would like you to develop the subsequent requirements in one plug-in already in production. The plug-in was developed in Visual Studio 2010 .NET Framework 4 C# and synchronizes

Does a web service have state, Does a Web service have state? The Web s...

Does a Web service have state? The Web services do not have any method to maintain state. Though, it can access ASP.NET objects, such as application and session if they extend

I need a web developer help, Experienced Microsoft .NET web developer I ...

Experienced Microsoft .NET web developer I have a various projects for which I need a web developer for. The developer will be the sole product owner hence should be dependab

Simple task on analysis svn and github, Project Description: Simple task...

Project Description: Simple task on analysis svn and github .NET, PHP, Engineering, Software Architecture

CSS, Howto create a simple stylesheet for a web application

Howto create a simple stylesheet for a web application

Define cts, CTS(Common Type System) : In order that the two language commu...

CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these d

Convert an existing flash file into html5, Project Description: We are s...

Project Description: We are seeking a simple tool that can convert an existing flash file (.SWF) into HTML5. Our idea is to convert small flash games into html5 games. Please NO

What is the use of a .disco file, What is the use of a .disco file? A c...

What is the use of a .disco file? A client application uses a .disco file to locate or discover the documents that have the description of a Web service. The .disco file having

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd