Sequencer | These commands set up and control the Sequencer to display a series of frames. |
File inclusion | This command lets you include other scripts in your program. |
Prompts | These commands let you change the appearance of the prompt in the script environment. |
Name | Read Only | Read/ Write | Description |
---|---|---|---|
@deltaframe | * | The number of steps between frames. | |
@endframe | * | The index of the last frame. | |
@frame | * |
| The index of the current frame. |
@nextframe | * | The index of the next frame. | |
@startframe | * | The index of the first frame.
|
· @startframe=0; @endframe=10; @nextframe=@startframe; sequence displayobject(20*@frame); ·
There is currently a limit of 32 nested levels of inclusion, after which the include commands are ignored.
To include the file my.script, issue the following command:
include "my.script"
The default prompt and continuation prompt are dx> and > respectively.
The following example show how to set these variables. Note that this example shows the Data Explorer prompts as they would be displayed in the executive.
dx> @prompt = "DATA EXPLORER>"; DATA EXPLORER> @cprompt = " more>";
If, after these commands, an incomplete statement was entered, Data Explorer would respond as follows:
DATA EXPLORER> a = more> 3 * 5;
[ OpenDX Home at IBM | OpenDX.org ]