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.

See Also• DO command• $TEST special variableFOR (legacy version)FOR (legacy version)Executes a command loop repeatedly, testing at the beginning of each loop.FOR variable=forparameter,... commandF variable=forparameter,... commandwhere forparameter can be:exprstart:incrementstart:increment:endand command is one or more <strong>Caché</strong> <strong>ObjectScript</strong> commands on the same program line. Thiscommand (or commands) are executed repeatedly, based on the FOR test.ArgumentsvariableexprstartincrementendOptional — A counter variable for the FOR loop.Optional — The value of variable before executing the loopcommands.Optional — The value of variable on the first iteration of the FORloop.Optional — The value used to increment variable after each iterationof the FOR loop.Optional — The value used to terminate the FOR loop.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 745

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

Saved successfully!

Ooh no, something went wrong!