Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

VBS Exit

Shulou Source: shulou.com Published: 2022-06-03 06:55:04 10月04日 Update

ExitTest-exit the entire TEST.

ExitAction-exits the current operation, regardless of its loop properties.

ExitActionIteration-the current loop of the exit operation.

ExitRun-exit the test, regardless of its loop properties.

ExitGlobalIteration-exits the current global loop.

* * *

Exit Do-provides a way to exit the Do...Loop statement. Can only be used in Do...Loop statements. Exit Do transfers control to the statement after the Loop statement. When used in nested Do...Loop statements, Exit Do transfers control to the upper level of the nested loop where the loop is located.

Exit For-provides a way to exit the For loop. Can only be used in For...Next or For Each...Next loops. Exit For-the statement that transfers control to the Next. When used in a nested For loop, the Exit For transfers control to the upper level of the nested loop where the loop is located.

Exit Function-immediately exit the Function process from where it appears. Continue to execute the statement that follows the statement that called Function.

Exit Property-immediately exit from the Property process you are in. Continue with the following statement that calls the Property procedure.

Exit Sub-immediately exits the Sub procedure from where it appears and continues to execute the statement that follows the statement that called Sub.

Tags: Statement loop location control procedure control location property method previous global test Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information vpn Microsoft NVidia Shulou Tech Info