| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Constructs | NO | YES | NO | All |
This command causes Omnis to test if the user wishes to cancel execution of the method, at the end of each loop and during lengthy operations such as searching or sorting a large list. The user requests a cancel by either clicking on a working message Cancel button, or by pressing Ctrl-Break under Windows, Ctrl-C under Linux, or Cmnd-period under macOS. This command reverses the Disable cancel test at loops command. Unless Omnis has executed a Disable cancel test at loops, cancel testing is carried out automatically.
# delete all overdrawn accounts without interruption by the user requesting a cancel
Set main filefAccounts
Set search as calculationfAccounts.Balance<0
FindonfAccounts.Code(Use search)
Disable cancel test at loops
While flag trueWorking message(Repeat count){Deleting Account [fAccounts.Code]}DeleteNextonfAccounts.Code(Exact match)
End WhileEnable cancel test at loops## enable break key for next loop