About 770,000 results
Open links in new tab
  1. Functions in Programming - GeeksforGeeks

    Jul 29, 2024 · What are Functions in Programming? Functions in Programming is a block of code that encapsulates a specific task or related group of tasks. Functions are defined by a name, may have parameters and may return a value.

  2. Function Statement - Visual Basic | Microsoft Learn

    Sep 14, 2021 · Declares the name, parameters, and code that define a Function procedure. Function name [ (Of typeparamlist) ] [ (parameterlist) ] [ As returntype ] [ Implements implementslist | Handles eventlist ] [ statements ] [ Exit Function ] [ statements ] End Function. Optional. See Attribute List. Optional. Can be one of the following:

  3. Introduction to Visual Programming Language - GeeksforGeeks

    Jun 9, 2022 · Examples of Visual Programming Language: There are n numbers of visual programming languages and the few which are in the top list is given below. Scratch: With the help of this language users can create, stories, games, and animations without writing any lines of code in this you just have to create the logic and assemble the blocks.

  4. Function procedures - Visual Basic | Microsoft Learn

    Sep 15, 2021 · A Function procedure is a series of Visual Basic statements enclosed by the Function and End Function statements. The Function procedure performs a task and then returns control to the calling code. When it returns control, it also returns a value to the calling code.

  5. What is a Function? - W3Schools

    What is a Function? A function holds a piece of code that does a specific task. A function takes some data as input, the code inside the function does something with the data, and then the result is returned. Click the "Run" button below to see the function converting a temperature from Fahrenheit to Celsius.

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

    Feb 14, 2025 · In this example, we create a sub procedure to sum up two values that are specified by the arguments . The main program can reference a procedure by using its name together with the arguments in the parentheses. x = Val(TxtNum1.Text) y = Val(TxtNum2.Text) sum x, y. MsgBox ("sum=" & a + b)

  7. Programming Fundamentals/Functions/Functions - Wikiversity

    May 18, 2023 · A function is a sequence of program instructions that performs a specific task, packaged as a unit. Depending on the programming language, a function may be called a subroutine, a procedure, a routine, a method, or a subprogram.

  8. Function ExamplesProgramming Fundamentals

    As independent functions, each function acts as a miniature program, with its own input, processing, and output. As you review the following code, note which functions have parameters (input) and which functions have return values (output).

  9. Visual Basic/Procedures and Functions - Wikibooks

    Jun 26, 2020 · Functions are named blocks of program code that perform a specific task and return a result. The task can be as simple as adding two numbers or as complex as launching a spacecraft. A subroutine is like a function, just that it does not return a result. An example function definition: An example subroutine definition: Note the following:

  10. Functions in Visual Basic 2010

    Mar 28, 2020 · A Visual Basic 2010 function is a type of procedure that returns a value which is passed on to the main procedure to finish the execution. A function is similar to a sub procedure but there is one major difference, a function returns a value whilst a sub procedure does not.

Refresh