subroutine Hear it!

subroutine Definition

sub·rou·tine (sub′ro̵̅o̅ tēn)

noun

a set of instructions, appearing once within a computer program but available for repeated use, for performing a specific task

subroutine Usage Examples

Converse of subject

specify: This is also true if control was passed to a user-defined error handling routine specified by the intrinsic subroutine, ERRALT.

Converse of object

  • execute: Determining the Context As mentioned above, you can determine the context of the currently executing subroutine in Perl with wantarray.
  • call: Calling a subroutine pushes the return address onto the stack.
  • define: Put complicated actions into subroutines defined in separated files.
  • write: The skill lies in choosing the level - or levels - at which to write the subroutines.
  • contain: For instance suppose that you would like to create an extra menu item that contains all programmer subroutines.
  • supply: A user supplied subroutine providing the dipole at any configuration space is a program requirement.

Adjective modifier

  • intrinsic: To end event synchronous control, an event must be released using intrinsic subroutine PEFREE.
  • user-defined: User-defined subroutines may choose to care whether they are being called in a void, scalar, or list context.
  • anonymous: In place of a SUBNAME, you can provide a BLOCK as an anonymous, in-line sort subroutine.
  • separate: There are several advantages of doing this such as: Separate subroutines can be tested and their errors removed one at a time.

Modifies a noun

  • subprogram: This name can be a module subroutine subprogram, a dummy procedure, or a secondary entry name.
  • ptfork: The value of the task parameter is stored in a 32-byte area of the system when subroutine PTFORK is executed.
  • prresult: Suppose the program stops at the CALL statement that calls the subroutine PRRESULT.
  • declaration: Subroutine Attributes A subroutine declaration or definition may have a list of attributes associated with it.
  • call: Argument 0 is the first argument passed in the Perl subroutine call.
  • library: Readline is a subroutine library any program can use get a line of input from the keyboard.

Noun used with modifier

  • sort: Sort subroutine didn't return a numeric value ( F ) A sort comparison routine must return a number.
  • library: A library subroutine called LEDGER is provided, written in Standard Fortran, which performs various operations on this file.
  • call: Suppose that subroutine A calls subroutine B, and that subroutine B also builds a stack frame on top of the stack.