InterSystems Programming Tools Index
Macros
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Export macros programmatically; print information about available macros.
Background Information
A macro defines a substitution in a line of Caché ObjectScript code. For details, see ObjectScript Macros and the Macro Preprocessor in Using Caché ObjectScript. You create macros in Studio; see Using Caché Studio.
Available Tools
%SYSTEM.OBJ class
Includes the following class methods that you can use with macros:
Availability: All namespaces.
Reminder
The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().