| Oracle9i OLAP Developer's Guide to the OLAP DML Release 2 (9.2) Part Number A95298-01 |
|
Developing Programs, 3 of 12
A program, like a dimension or a variable, is a workspace object. You define a program using the DEFINE command. The following example defines a program named hello.
DEFINE hello PROGRAM
Once you have defined a program object, you need to add the body of the program to it.
OLAP Worksheet provides an editor that you can use to add content to the program definition.
| See Also:
"Accessing a Workspace from OLAP Worksheet" for more information about using OLAP Worksheet. |
Use the following formatting guidelines as you add lines to your program:
-) at the end of the line to be broken. The hyphen is called a continuation character.
You cannot use a continuation character in the middle of a text literal.
;).'). To include a single quotation mark within literal text, precede it with a backslash (\)."). You can place a comment, preceded by double quotation marks, either at the beginning of a line or at the end of a line, after some commands.The following program named hello displays the phrase "Hello World."
DEFINE hello PROGRAM PROGRAM SHOW 'Hello World' END
| See Also:
"Escape Sequences" for information about escape sequences. |
|
![]() Copyright © 2001, 2002 Oracle Corporation. All Rights Reserved. |
|