Messagebox("This macro demonstrates the Label, MessageBoxOkCancel, If, and Goto commands.")
:TopOfLoop
MessageBoxOkCancel("Press 'OK' to test the label... Cancel to quit.")
If(ResponseCancel(),GoTo(":ExitLoop"))
//If(ResponseOk(),GoTo(":TopOfLoop"),Goto(":ExitLoop")) <------ we could have used this extended version but we chose to use a simple Goto(":TopOfLoop") instead..
GoTo(":TopOfLoop")
:ExitLoop
MessageBox("Congratulations... you found your way out of the loop!")