sub-procedure
常見(jiàn)例句
- Exit Sub can be used only inside a Sub procedure.
只能在Sub過(guò)程內(nèi)使用Exit Sub。 - A Sub procedure definition has not been properly terminated.
Sub過(guò)程定義未正確終止。 - To return an exit code, you must declare Main as a Function procedure instead of a Sub procedure.
若要返回退出代碼,必須將Main過(guò)程聲明為Function過(guò)程而不是Sub過(guò)程。 - The following example uses the Exit statement to exit a For.Next loop, a Do loop, and a Sub procedure.
下面的示例使用Exit語(yǔ)句退出For.;Next循環(huán)、Do循環(huán)以及Sub過(guò)程。 - You call a Sub procedure by using the procedure name, followed by the argument list in parentheses, in a statement.
通過(guò)使用語(yǔ)句中的過(guò)程名(后跟圓括號(hào)中的參數(shù)列表)調(diào)用Sub過(guò)程。 - The Exit Sub and Return statements cause an immediate exit from a Sub procedure.
使用Exit Sub和Return語(yǔ)句可導(dǎo)致立即從Sub過(guò)程中退出。 返回 sub-procedure