Accessing class methods from MVBasic.
You can access methods belonging to $SYSTEM classes from Caché MVBasic by using the > syntax. The arrow (>) indicates that what precedes it is the name of a class, and what follows it is something belonging to the class, such as a method.
A simple example of this usage in shown in the following:
This returns the current Caché Objects version number. This is similar to the information returned by the MVBasic SYSTEM(41)
In ObjectScript, the same class method would be invoked using dot syntax, as follows:
© 1997-2019 InterSystems Corporation, Cambridge, MA