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)
7.93725393319377177
SAMPLES>write $zlog(100)
2
SAMPLES>