Dictionary
Thesaurus
Encyclopedia
Translator
Web

subroutine

 - 3 dictionary results

sub⋅rou⋅tine

[suhb-roo-teen]
–noun Computers.
an instruction sequence in a machine or assembly language program that can be prewritten and referred to as often as needed. Compare procedure (def. 4a).

Origin:
1945–50; sub- + routine
Dictionary.com Unabridged
Based on the Random House Dictionary, © Random House, Inc. 2009.
Cite This Source Link To subroutine
sub·rou·tine   (sŭb'rōō-tēn')   
n.   Computer Science
A set of instructions that performs a specific task for a main routine, requiring direction back to the proper place in the main routine on completion of the task.
The American Heritage® Dictionary of the English Language, Fourth Edition
Copyright © 2009 by Houghton Mifflin Company.
Published by Houghton Mifflin Company. All rights reserved.
Cite This Source
Computing Dictionary

subroutine programming
(Or "procedure") A sequence of instructions for performing a particular task. Most programming languages, including most machine languages, allow the programmer to define subroutines. This allows the subroutine code to be called from multiple places, even from within itself (in which case it is called recursive). The programming language implementation takes care of returning control to (just after) the calling location, usually with the support of call and return instructions at machine language level.
Most languages also allow arguments to be passed to the subroutine, and one, or occasionally more, return values to be passed back.
A function is often very similar to a subroutine, the main difference being that it is called chiefly for its return value, rather than for any side effects.
(1996-10-01)

The Free On-line Dictionary of Computing, © 1993-2007 Denis Howe
Cite This Source
Search another word or see subroutine on Thesaurus | Reference
FacebookTwitterFollow us: