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循環(huán)、Do循環(huán)以及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