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.

ArgumentspcAn optional postconditional expression that can make the command conditional. <strong>Caché</strong> executesthe CONTINUE command if the postconditional expression is true (evaluates to a nonzeronumeric value). <strong>Caché</strong> does not execute the command if the postconditional expressionis false (evaluates to zero). For further details, refer to Command Postconditional Expressionsin Using <strong>Caché</strong> <strong>ObjectScript</strong>.ExampleLoopSET val=4,x=valFOR num=val {WRITE num*3CONTINUE:xWRITE "more to come",val}QUITCONTINUESee Also• DO WHILE command• FOR command• WHILE command<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 23

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

Saved successfully!

Ooh no, something went wrong!