About 51 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 instruction …

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

    Jul 20, 2025 · 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 does not. …

  3. What is the difference between a subroutine and a function?

    A subroutine is a general-purpose term for any chunk of code that has a definite entry point and exit point. However, the precise meaning of these terms will vary from context to context. 1. Obviously, …

  4. 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 data they are given.

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

    It is my understanding that subroutine or routine are just names for self-contained blocks of code or instructions the program runs. For example, in Ruby we'd call subroutines methods where as in …

  6. Subroutine vs functions in python - Stack Overflow

    Aug 29, 2022 · What is the difference between a function and a subroutine? What is the benefit to define a function in a function in python?

  7. Difference between function, method, routine, procedure, subprogram ...

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

  8. 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 - you can …

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

    Call DoSomethingElse To call a subroutine from a form without using an event procedure If you want, you can actually bind the function to the form control's event without having to create an event …

  10. What are routine and subroutine in program? - Stack Overflow

    Oct 16, 2016 · So what are routine and subroutine in this program? I have read somewhere subroutine doesn't return anything so if I am getting right the inner portion of main function called subroutine or …