11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Legacy Commands and FunctionsThe expression1 argument can take the form of a single expression or a comma-separatedlist of expressions. For an expression list, <strong>Caché</strong> evaluates the individual expressions in leftto right order. It stops evaluation if it encounters an expression that is FALSE. If all expressionsevaluate to TRUE, <strong>Caché</strong> executes the command(s) following the expression1 argument onthat line. If any expression evaluates to FALSE, <strong>Caché</strong> ignores any remaining expressions,and does not execute the commands on that line, but continues execution at the next line ofcode.See Also• IF command• DO (legacy version) command• GOTO command• QUIT command• $TEST special variableZQUIT (legacy command)Exits a program with error handling.ZQ:pc expressionwherepcexpressionOptional — A postconditional expression.Optional — An expression that evaluates to an integer greater than0.<strong>Caché</strong> platforms recognize only the ZQ abbreviation for ZQUIT.754 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!