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

    Subroutines are concrete objects. This is what I understood: the concept of a (pure) function is a mathematical concept which is a special case of mathematical relations with an own formal …

  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. What is the difference between a subroutine and a function?

    A function mirrors the mathematical definition of a function, which is a mapping from 1 or more inputs to a value. 1 A subroutine is a general-purpose term for any chunk of code that has a …

  4. Subroutine vs functions in python - Stack Overflow

    Aug 29, 2022 · Coroutines are a more generalized form of subroutines. Subroutines are entered at one point and exited at another point. Coroutines can be entered, exited, and resumed at …

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

    May 26, 2017 · public write(){ // dostuff } Is the code above a subroutine, a method, or a program block? I don't understand these terms because the meaning of them are all so similar? So, if I …

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

    Jul 3, 2020 · Subroutines modify the variables in the calling code and functions leave them intact. So a subroutine can provide several modified pieces of information to the calling code (as …

  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 …

  8. Perl subroutine arguments - Stack Overflow

    I have been reading about Perl recently and am slightly perplexed about how Perl handles arguments passed to subroutines. In a language like Python, Java or PHP, a function …

  9. What is the modern replacement to obsolete FORM subroutine in …

    Dec 3, 2020 · In the documentation you mention, if you click the link Subroutines, it says: In those places where subroutines cannot yet be replaced by methods (PERFORM ON …

  10. Pass inline declared table/variable to subroutine in ABAP

    Aug 26, 2020 · The subroutines are obsolete since ABAP 7.02 (2009), so I use a method in my example. Inline declarations are an easy way of declaring types implicitly, but the limit of this …