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

    a. A subroutine is a logical construct used in writing Algorithms (or flowcharts) to designate processing functionality in one place. The subroutine provides some output based on input …

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

    Nov 11, 2023 · 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. Java: What is the difference between subroutine and methods?

    May 26, 2017 · Technically a (pure) function must always return the same result for a given set of parameters. This was good for non-oo languages as a replacement for "Subroutine", it is a …

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

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

    In the context of the Programming Language Pragmatics example you provided, the subroutine appears to be the call stack of actions to be executed and each item of the stack are routines …

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

    The most common definition of subroutine is a function that does not return anything and normally does not accept anything. It is only a piece of code with a name. Actually in most languages …

  7. Subroutines in batch files - Stack Overflow

    Nov 18, 2011 · In this way - you can never fall into the subroutine section. Also - always use REM statements before, during, and possibly after each section so you always know what a section …

  8. Subroutine vs functions in python - Stack Overflow

    Aug 29, 2022 · But, no where in the Glossary a subroutine is defined. From my understanding, in Python, there's no difference between a function and a subroutine. But, I could not find this …

  9. How to get a return value from a subroutine run inside a thread

    Dec 18, 2017 · I'm having trouble extracting return values from a subroutine I ran from within a thread, in python 3. import threading from threading import Thread def dothis(): x = 17 return x …

  10. using subroutines in python instead of if statements

    Feb 4, 2014 · subroutine; Share. Improve this question. Follow edited Feb 4, 2014 at 20:04. Brad Larson. 170k 45 45 gold ...

Refresh