Get Affordable VMs - excellent virtual server hosting


browse words by letter
a b c d e f g h i j k l m n o p q r s t u v w x y z

subroutinemore about subroutine

subroutine


  2  definitions  found 
 
  From  WordNet  r  1.6  [wn]: 
 
  subroutine 
  n  :  a  set  sequence  of  steps,  part  of  larger  computer  program 
  [syn:  {routine},  {subprogram},  {procedure},  {function}] 
 
  From  The  Free  On-line  Dictionary  of  Computing  (13  Mar  01)  [foldoc]: 
 
  subroutine 
 
    (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) 
 
 




more about subroutine