Skip to main content

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)
FeedbackOpens in a new tab