Caché ObjectScript Reference
ObjectScript Commands
[Home] [Back] [Next]
InterSystems: The power behind what matters   

This document provides detailed descriptions of the commands supported by ObjectScript. In this manual, ObjectScript commands are divided into three groups:
Within each group, the commands are presented in alphabetical order.
For more information on ObjectScript commands generally, see the Commands chapter of Using Caché ObjectScript.
You can abbreviate most commands to the first letter of the command name, or, in the case of commands that begin with the letter Z, to the first two letters of the command name. In the Synopsis for each command, the full name syntax is first presented, and below it is shown the abbreviated name (if one exists).
The Synopsis for each command contains only literal syntactical punctuation. The Synopsis does not include punctuation for format conventions, such as what elements of the syntax are optional. This information is provided in the table of arguments immediately following the Synopsis.
The one exception is the ellipsis (...). An ellipsis following a comma indicates that the argument (or argument group) preceding the comma can be repeated multiple times as a comma-separated list. An ellipsis within curly braces { . . . } indicates that a block of code containing one or more commands can be specified within the curly braces. The curly braces are literal characters that must be specified in the code.
Most commands take one or more arguments. Arguments are expressions (for example, a function and its parameters, a variable, an operator and its operands, an object property, or an object method) that define or control the action of the command. Multiple arguments used with a command are generally referred to as an argument list. Some commands have arguments that themselves take argument parameters. For example, each argument of the DO command can take a parameter list. This is indicated in the syntax.
Some commands are argumentless, and can be invoked without any arguments. Some commands never take arguments; other commands take arguments only in certain circumstances. Such commands change their meaning depending on whether they are argumentless, or specify an argument list.
Most commands can take an optional postconditional expression, which specifies a condition that dictates whether or not the command should be executed. A postconditional expression is appended to the command name by a colon (:). No spaces or line breaks are permitted between a command name and its postconditional expression. While a postconditional expression is not, strictly speaking, a command argument, they are here presented with the arguments. An argumentless command can take a postconditional expression.
Most ObjectScript commands are the same on all hardware platforms. Any platform-specific features of a command are marked with the type of platform that supports it; for example, Windows or UNIX®. Any command not marked with a platform limitation is supported by all platforms.

— B —
— C —
— D —
— E —
— F —
— G —
— H —
— I —
— J —
— K —
— L —
— M —
— N —
— O —
— Q —
— R —
— S —
— T —
— U —
— V —
— W —
— X —
— Z —

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA