Continue-to-Loop
Command Description
Skip the current round and enter the next round of the current loop statement
Command Prototype
Continue
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
None | None | None | None | None |
TracePrint("------------------------------------------------continue loop--------- ----------------------------------")
//-------------------------------------------------------------------------------
//[Remarks] Skip the current loop and enter the next loop of the current loop statement.
TracePrint("Let the array a = ['U','i','1','B','o','T'], traverse the array a, skip this loop when the value is 1, Continue to the next loop and print the value ")
a = ["U","i","1","B","o","T"]
For Each value In a
If value = "1"
Continue
End If
TracePrint value
Next