Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

ObjectScript Functions

ObjectScript provides many functions, all documented in the Caché ObjectScript Reference. Functions, like in other languages, accept parameters and return a result. Like commands, functions are not case-sensitive, and can be abbreviated; their names begin with $. The RightTriangle routine used $Zsqr to compute the square root.

SAMPLES>write $zsqr(63)
SAMPLES>write $zlog(100)