Subs are used to split a task into individual procedures. Splitting a program into procedures and sub-procedures enhances readability and reduces the error-proneness. A Sub possibly takes some arguments as parameters but does not return any values back to the calling Sub or Function, for example:
的简写形式，用于处理程序中的某些任务。子程序可用于将一个任务分成多个过程。将程序拆分成若干个过程和分过程可以增强程序的可读性并降低出错的可能性。子程序可以接受一些自变量作为参数，但是不会向调用它的子程序或函数返回任何值，例如：