11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

to the caller of the subroutine. It does not generate an M16 "Quit with an argument notallowed" error.ArgumentspcAn optional postconditional expression. <strong>Caché</strong> executes the command if the postconditionalexpression is true (evaluates to a non-zero numeric value). <strong>Caché</strong> does not execute the commandif the postconditional expression is false (evaluates to zero). For further details, referto Command Postconditional Expressions in Using <strong>Caché</strong> <strong>ObjectScript</strong>. If the QUIT commandtakes no other arguments, there must be two or more spaces between the postconditional andthe next command following it on the same line.expressionAny valid <strong>Caché</strong> <strong>ObjectScript</strong> expression. It can be used only within a user-defined functionto return the evaluated result to the calling routine.ExamplesIn this example, execution of the QUIT command is controlled by a postconditional (:x

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

Saved successfully!

Ooh no, something went wrong!