BEGIN/END

Forms a block of statements that are treated as a group. BEGIN may appear on the same line as an IF statement.

A BEGIN/END block usually follows an IF or ONEXIT statement.

To use this statement, type BEGIN before the statements you want grouped together. Type END after the statement group. For example:

IF (_status = "NOT CONNECTED") BEGIN
  ECHO "DIALING..."
  SEND "ATDT 555-5555"
END

This example executes every line between BEGIN and END only if the value of _status is "NOT CONNECTED". Otherwise, the script continues after the END statement.