sub-procedure
常见例句
- Exit Sub can be used only inside a Sub procedure.
只能在Sub过程内使用Exit Sub。 - A Sub procedure definition has not been properly terminated.
Sub过程定义未正确终止。 - To return an exit code, you must declare Main as a Function procedure instead of a Sub procedure.
若要返回退出代码,必须将Main过程声明为Function过程而不是Sub过程。 - The following example uses the Exit statement to exit a For.Next loop, a Do loop, and a Sub procedure.
下面的示例使用Exit语句退出For.;Next循环、Do循环以及Sub过程。 - You call a Sub procedure by using the procedure name, followed by the argument list in parentheses, in a statement.
通过使用语句中的过程名(后跟圆括号中的参数列表)调用Sub过程。 - The Exit Sub and Return statements cause an immediate exit from a Sub procedure.
使用Exit Sub和Return语句可导致立即从Sub过程中退出。 返回 sub-procedure