Topic: Function and a Subroutine
Not finding your answer? Try searching the web for Function and a Subroutine
Answers to Common Questions
What is the difference between a function and a subroutine?
A function returns a value whereas a subroutine does not. A function should not change the values of actual arguments whereas a subroutine could change them. Read More »
Source: http://wiki.answers.com/Q/What_is_the_difference_between_a_functi...
How functions are different from subroutines?
A function is a section of code that takes no or more parameters and returns a result. Generally, a well behaved function has no side-effects. An example is sin(x). A subroutine is a section of code that takes no or more parameters and retu... Read More »
Source: http://wiki.answers.com/Q/How_functions_are_different_from_subrou...
What is the difference between a Function and a subroutine in QTP...
A function returns a value, a subroutine does not. Read More »
Source: http://wiki.answers.com/Q/What_is_the_difference_between_a_Functi...
More Common Questions
Answers to Other Common Questions
Function - Returns a value Sub - Does not return a value Private Function MyFunction() as boolean Private Sub MySub() To execute a function, set something to it, like MyYesNoValue = MyFunction To execute a sub, use Call, like Call MySub Hop...
Read More »
Source: http://www.experts-exchange.com/Q_21435506.htm
Function returns a value but sub procedure do not return a value.
Read More »
Source: http://wiki.answers.com/Q/What_is_different_between_a_subroutine_...
Both a function and a subroutine are examples of out-of-line execution calls to code. The main difference is that a function call can be part of an expression and returns a value, whereas the subroutine can be called standalone and does not...
Read More »
Source: http://wiki.answers.com/Q/What+is+a+Procedure+or+Subroutine
Question 1:
Read More »
Source: http://www.mrexcel.com/forum/showthread.php?t=39213
Conceptually, they're pretty much all the same thing: part of a program separate from the main program that does something and then returns to the main program. Some languages have specific meanings for these terms. For example, in Pascal,...
Read More »
Source: http://www.quora.com/Computer-Programming/What-is-the-difference-...
I'm not sure if I did get you right, but as far as I know, you can't define local function definitions in C++. Actually I can't think in the utility of that. Could you give us more details?
Read More »
Source: http://www.experts-exchange.com/Programming/Languages/CPP/Q_20025...
If you've placed the appropriate typename in the function prototype, conversion will be automatic. To verify the typename of the object change your on click event to the following. This is for debugging purposes only, remember to undo it w...
Read More »
Source: http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q...