Script BEGIN/END Statement |
BEGIN/END 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 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. |
Copyright
© 2017 American Chemical Society. All Rights Reserved.