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.

<strong>Caché</strong> <strong>ObjectScript</strong> CommandsELSEIFClause of block-oriented IF command.Refer to IF command for syntaxDescriptionELSEIF is not a separate command, but a clause of the block-oriented IF command. Referto the IF command for details.See Also• IF commandFORExecutes a block of code repeatedly, testing at the beginning of each loop.FOR variable=forparameter,...{. . .}F variable=forparameter,...{. . .}where forparameter can be:exprstart:incrementstart:increment:endArgumentsvariableexprstartincrementendOptional — 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.38 <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!