Jump to content

Caché ObjectScript

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Derek Ross (talk | contribs) at 03:45, 30 September 2005 (Tone down market speak). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The original scripting language for Caché, Caché ObjectScript is an object-oriented language. One interesting feature of Caché ObjectScript is that it enables the intermixing of data access methods – developers may view data as objects, as relational tables (using SQL), or as multidimensional arrays. Also, unlike some other object languages, Caché ObjectScript allows stand-alone routines. It does not require that all code be part of some object class method.

Since Caché ObjectScript is completely compatible with InterSystems' other products, it is likely to be used by developers who already know Caché's multi-dimensional data format. However it should not be too hard for developers who are accustomed to object-oriented programming techniques to make use of it.

Caché ObjectScript is a functional superset of the ANSI-standard M (MUMPS) programming language. If you are an M programmer you can run your existing M applications on Caché with little or no change.

Caché ObjectScript offers a number of significant improvements over ANSI-standard M including integrated support for object-oriented programming, procedure and control blocks using { } syntax and more relaxed whitespace requirements.


See also