Advertisement - Continue reading below

Definition of "subroutine" []

  • 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. (noun)

American Heritage(R) Dictionary of the English Language, Fifth Edition. Copyright (c) 2011 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company. All rights reserved.

Use "subroutine" in a sentence
  • "Either way, by the time you call a subroutine, it ought to be compiled."
  • "& my_sub passes on the contents of @_ to the called subroutine sub first {& second}; sub second {print @_}; first ( 'some', 'random', 'data');"
  • "I was to call his subroutine, and let that do some processing."