Difference between revisions of "Return"
Jump to navigation
Jump to search
(moved Return to Return (law)) |
DavidB4-bot (talk | contribs) m (clean up) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | '''Return''' may refer to several things depending on context. | |
| + | |||
| + | == Economics == | ||
| + | |||
| + | Return generally refers to profit (or loss) made on an investment. "Rate of return" is the ratio of profit compared to investment. | ||
| + | |||
| + | == Architecture and Design == | ||
| + | |||
| + | Defined as "the receding edge of a flat face". | ||
| + | |||
| + | == Computing == | ||
| + | |||
| + | The return statement tells a function, subroutine or method to stop running and "return" control to its caller.[http://www.golivecentral.com/pages/txttut/jstut/return.shtml] In Java and most other languages, no other lines of programming code may follow a return statement, since they could not possibly be executed. The typical compiler therefore labels this a coding error. But in PHP it is allowed.<!-- I'm not sure about JavaScript. --> | ||
| + | |||
| + | == Definition of noun == | ||
| + | |||
| + | An act of coming or going back to something. | ||
| + | [[Category:Computer Programming]] | ||
Latest revision as of 15:05, June 23, 2016
Return may refer to several things depending on context.
Economics
Return generally refers to profit (or loss) made on an investment. "Rate of return" is the ratio of profit compared to investment.
Architecture and Design
Defined as "the receding edge of a flat face".
Computing
The return statement tells a function, subroutine or method to stop running and "return" control to its caller.[1] In Java and most other languages, no other lines of programming code may follow a return statement, since they could not possibly be executed. The typical compiler therefore labels this a coding error. But in PHP it is allowed.
Definition of noun
An act of coming or going back to something.