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).

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)
Copy code to clipboard
FeedbackOpens in a new window