About 5,150,000 results
Open links in new tab
  1. What is the Difference Between Function and Procedure in VB

    May 29, 2019 · The main difference between Function and Procedure is that Function is a procedure that performs a certain task and returns a value to the calling code while a …

  2. Sub Procedure Vs Function in VB.NET - GeeksforGeeks

    May 11, 2022 · A function procedure is a group of VB.NET statements. It begins with a Function keyword and ends with an End Function keyword. It is generally used to perform a task and …

  3. Procedures & functions in Visual Basic - ZetCode

    Oct 18, 2023 · The difference between the two is that functions return values, procedures do not. A procedure and function is a piece of code in a larger program. They perform a specific task. …

  4. What is the difference between a "function" and a "procedure"?

    Apr 6, 2009 · Functions exist only in math, and they represent what is knowledge. Procedures exist in programming languages (including functional ones), and they represent how to …

  5. Procedures - Visual Basic | Microsoft Learn

    Sep 15, 2021 · A procedure is a block of Visual Basic statements enclosed by a declaration statement (Function, Sub, Operator, Get, Set) and a matching End declaration. All executable …

  6. Visual Basic/Procedures and Functions - Wikibooks

    Jun 26, 2020 · Generally, you use a Function when the result is a single thing (number, string, object) and a Sub when you either want to return several distinct things or nothing at all. …

  7. Procedures & functions In Visual Basic 6.0 - Zuhzwan

    2 days ago · The difference between the two is that functions return values, procedures don't. A procedure and function is a piece of code in a larger program. They perform a specific task.

  8. Visual Basic Procedures: Introduction - FunctionX

    The main difference between a procedure and a function is that, after carrying its assignment, a function gives back a result. We also say that a function "returns a value". To distinguish both, …

  9. Visual Basic (VB.NET) Procedures and Functions

    Aug 30, 2013 · A procedure and function is a piece of code in larger program. They perform a specific task. Reducing duplication of code, Decomposing complex problems into simpler …

  10. Lesson 14 : Functions and Sub Procedure - Visual Basic Tutorial

    Feb 14, 2025 · It is different from function in the sense that it does not return a value as a function does.A sub procedure is usually used to accept input from the user, display information, print …

Refresh