Command Reference : Programming Language Reference
  
 
subroutine
Declare a subroutine within a program.
The subroutine statement marks the start of a subroutine.
Syntax
subroutine name(arguments)
[commands]
endsub
Cross-references
See “Subroutines”. See also endsub.