Sub Statement [Runtime]/text/sbasic/shared/03090409.xhpSun Microsystems, Inc.converted from old format - fpeSub;statementSub Statement [Runtime]Defines a subroutine.Syntaxsee Parameterstatement block[Exit Sub]statement blockEnd SubParameters:Name: Name of the subroutine .VarName: Parameter that you want to pass to the subroutine.Type: Type-declaration key word.Name: Name of the subroutine.VarName: Parameter that you want to pass to the subroutine.Type: Type-declaration key word.Example:Sub ExampleShellend sub