About 235,000 results
Open links in new tab
  1. What is the difference between a function and a subroutine?

    The subroutine originally is simply a repeatable snippet of code which you can call in between other code. It originates in Assembly or Machine language programming and designates the …

  2. terminology - What is the difference between subroutine, co …

    Jun 2, 2020 · A subroutine and a function are essentially the same thing, with one difference: A function returns some sort of value (usually via the stack or CPU register), while a subroutine …

  3. Subroutines in batch files - Stack Overflow

    Nov 18, 2011 · Just to stick my $0.02 worth in here: I would have to say that DOS files (or DOS batch files) should always be written as : [ Main Program ] EXIT [ All Subroutines ] In this way - …

  4. Are "subroutine" and "routine" the same concept?

    Both terms refer to the same thing : a subroutine is a routine called inside a routine. Think of it as a main program (a routine) that has function calls inside and every call to a function is a …

  5. Java: What is the difference between subroutine and methods?

    May 26, 2017 · Subroutine is a term from functional/procedural languages like FORTRAN and COBOL. Those languages keep data and methods separate, with methods operating on the …

  6. Purpose of using sub routines over functions - Stack Overflow

    Jul 3, 2020 · A call of a subroutine is a statement; a call of a function is an expression. Subroutines are for situations when you need to do something without producing a return value.

  7. functional programming - Difference between function, method, …

    Jul 5, 2021 · Difference between function, method, routine, procedure, subprogram, subroutine, block, task Ask Question Asked 4 years, 3 months ago Modified 4 years, 3 months ago

  8. Call a VBA Function into a Sub Procedure - Stack Overflow

    In your case I think you just need to put your sub in a module, make the sub public, and then call it: call pptCreator. See "To call a subroutine in a module from a form" in this answer.

  9. What are the differences between functions and subroutines in …

    Dec 17, 2014 · I was under the impression that the main differences between subroutines and functions in Fortran was that functions returned values, while subroutines change some or all …

  10. sql - Can we write a sub function or procedure inside another …

    Feb 26, 2019 · The idea of a subroutine, to reduce duplication or otherwise, is largely foreign to other database platforms in my experience (Oracle, MS SQL, Sybase, MySQL, SQLite in the …