Difference between revisions of "Return (law)"

From Conservapedia
Jump to navigation Jump to search
(difference between PHP and other computer languages)
Line 1: Line 1:
 
'''Return''' is a report to a [[judge]] by [[police]] on the implementation of an arrest or [[search warrant]]. Also, a report to a judge in reply to a [[subpoena]], civil or criminal. [[Category:Legal Terms]]
 
'''Return''' is a report to a [[judge]] by [[police]] on the implementation of an arrest or [[search warrant]]. Also, a report to a judge in reply to a [[subpoena]], civil or criminal. [[Category:Legal Terms]]
 +
 +
'''return''' is also a computer programming keyword, which tells a function, subroutine or method to stop running and "return" control to its caller. 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. -->

Revision as of 19:21, July 18, 2011

Return is a report to a judge by police on the implementation of an arrest or search warrant. Also, a report to a judge in reply to a subpoena, civil or criminal.

return is also a computer programming keyword, which tells a function, subroutine or method to stop running and "return" control to its caller. 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.