SUBROUTINE
\sˈʌbɹuːtˌiːn], \sˈʌbɹuːtˌiːn], \s_ˈʌ_b_ɹ_uː_t_ˌiː_n]\
Definitions of SUBROUTINE
- 2006 - WordNet 3.0
- 2011 - English Dictionary Database
- 1985 - The Free On-line Dictionary of Computing
Sort: Oldest first
By DataStellar Co., Ltd
-
(Or "procedure") A sequence of instructionsfor performing a particular task. Most programming languages,including most machine languages, allow the programmer todefine subroutines. This allows the subroutine code to becalled from multiple places, even from within itself (in whichcase it is called recursive). The programming languageimplementation takes care of returning control to (just after)the calling location, usually with the support of call andreturn instructions at machine language level.Most languages also allow arguments to be passed to thesubroutine, and one, or occasionally more, return values tobe passed back.A function is often very similar to a subroutine, the maindifference being that it is called chiefly for its returnvalue, rather than for any side effects.
By Denis Howe
Word of the day
Mustagh Range
- a mountain range in northern Kashmir; an extension of the Hindu Kush; contains 2nd highest peak