Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

Multiple Purpose Characters

There's just one more interesting thing to point out before we move on to the next exercise. You may have noticed that ObjectScript uses certain characters for multiple purposes. Here's a summary:

Character Purposes
? Tab for Write. Pattern Match operator (covered later).
: (colon) Timer for Read. Post-condition for all commands. Counter specification for For.
# Fixed-length for Read. Modulo operator for arithmetic expressions.
. (period) Object.member separator (covered later). Range specifier for Pattern Match operator (covered later).
^ (caret) Routine prefix for Do. Global prefix (covered later).
FeedbackOpens in a new window