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

    This is an interpretation on top of the concrete formal semantics. Calling conventions specify the location where values, to be considered as arguments and return values, should be written to before calling a …

  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. Subroutines in batch files - Stack Overflow

    Nov 18, 2011 · The line CALL :SUB_B returns, the script proceeds to the next few lines: :SUB_A # no effect from this one ECHO In SUB_A # prints message You need to insert a GOTO:EOF after the …

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

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

    Jul 5, 2021 · Routine and subroutine Those words have mostly disappeared in modern languages. They were used in older programming languages. See also this related question: What's the technical …

  7. 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 …

  8. 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?

  9. syntax - Reusable subroutine in batch file - Stack Overflow

    May 15, 2025 · The command call is for calling another batch file from within a batch file or for the execution of a subroutine inside the current batch file which is processed like a called other batch file.

  10. SAP ABAP Subroutine Pools that are dynamically created and end in ...

    Apr 24, 2025 · For instance, the subroutine pool ZTEST=======FT contains a subroutine that eventually executes a function module called ZTEST. I understand how Subroutine Pools in ABAP …