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

Develop one web based application, Project Description: Specifically i n...

Project Description: Specifically i need develop one web based application which have student registration and according to semester and each time it will change as per semester

Shadowing, What is shadowing? When 2 elements in a program have similar...

What is shadowing? When 2 elements in a program have similar name, one of them can hide and shadow the one. Therefore in such cases the element which shadowed the main element

Explain expandoobject and dynamicobject classes, Explain ExpandoObject and ...

Explain ExpandoObject and DynamicObject classes. The ExpandoObject class refers to a class whose members can be explicitly added and removed at runtime. In other words, the Exp

Sydney part/developer - full time programmer required, Project Description:...

Project Description: We require a Part time or long contract, Programmer/Developer working in Sydney. Task - Write PHP software into asp.net. Develop new software to enhan

Monitoring system, hello there im stuck in my project and need to finish of...

hello there im stuck in my project and need to finish off it in a week or 8 days ,,and its .net and databases..please need a help

Difference between an ado.net dataset and an ado recordset, Explain the dif...

Explain the difference between an ADO.NET Dataset and an ADO Recordset. The two main basic differences between recordset and dataset are as shown below :- 1) With the datase

I need scrapebox software develper, Project Description: hi i need to de...

Project Description: hi i need to develop a software scrapebox exect same with all Skills required: .NET, Java, C# Programming, Visual Basic, Visual Basic for Apps

Install modules to enhance site proformance, Install Modules to enhance Sit...

Install Modules to enhance Site Proformance Project Description: As shown, I need the subsequent modules installed, to improve loading time for my graphics and images, improv

What is a link, What is a Link? At the lowest level, a network can have...

What is a Link? At the lowest level, a network can have of two or more computers directly linked by some physical medium such as coaxial cable or optical fiber. Such a physical

Best practice while implement globalization & localization, What are the be...

What are the best practices while implementing globalization and localization? The best methods while developing international language support software are shown below:- 1)

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