The OML window is used to enter, execute and display the execution of Compose language commands. It also displays print command outputs generated when scripts are executed from the Editor.
Plots (either 2D or 3D plots) are created by executing plot commands from either the OMLCommand Window or inside an OML script. Plots are displayed in a dedicated area located to the right of the Editor area.
The Compose Notebook is a web-based implementation of Compose’s OpenMatrix Language (OML) into a Jupyter Notebook. Notebooks (see www.jupyter.org) are a powerful way to execute and demonstrate scripted languages.
The OML window is used to enter, execute and display the execution of Compose language commands. It also displays print command outputs generated when scripts are executed from the Editor.
The OML window is used to enter, execute and display the
execution of Compose language commands. It also displays print command
outputs generated when scripts are executed from the Editor.
There are separate Command Windows for each language, accessible
from the View menu.
Pagination
When commands executed in OML result in printing large set of
data, a pagination mechanism can be used to navigate more easily in the large data set. If a
command such as the one below is executed, 40,000 elements will be printed.
If pagination is ON, the Command Window is filled within its limits
(size) and you are prompted to navigate.
Press q to quit the current pagination. In case of nested data,
press e to exit the pagination for all elements.
Tip: This
feature can be turned OFF from the Preferences panel.
Completion
Known OML commands and variables can be completed while entering
commands. This also applies to file paths.
For a command:
For a file path:
The options to trigger completions can be defined in the Preferences dialog.
Command Window Error Messages
If you execute a script and an error message is displayed in the Command Window, the error acts as a hyperlink, allowing you to click it and
go to this line in the Editor. This only applies to open
scripts.