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 FunctionsTerminating a FOR Loop with QUIT or GOTOA FOR loop is terminated by a QUIT only if the QUIT appears as one of the loop commands.If <strong>Caché</strong> encounters a QUIT in a subroutine called by the DO command, it terminates onlythe subroutine, not the FOR loop itself.A FOR loop is terminated by a GOTO that appears anywhere within the loop. If a GOTOexits from a subroutine called by the DO command, <strong>Caché</strong> terminates both the subroutineand the FOR loop.See Also• FOR command• DO (legacy version) command• GOTO command• QUIT command752 <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!