# OSM Command Language

The OSM command language was designed to be easy to read and write by users and easy to extend by regional model developers. The language uses space indentation, similar to python, to express hierarchical commands.

For example:

Inputs

Source “Your Database File Path”

TreeList “Your Table Name”

Here we assign Inputs properties: 1) Source and 2) TreeList. A space is required before each property name to tell OSM that these commands are to be applied in the context of Inputs.

Alternatively, you can use a period between hierarchical commands:

Inputs.Source “Your Database Location”

Inputs.TreeList “Your Table Name”

This language style results in very readable code; especially if you are using a text editor like Notepad++. If you open your OSM command file in Notepad++ and select the Python language highlighting rules, your OSM code will become very readable and easy to work with.

Syntax is the same as Python for single and multi-line comments.