Formula Editor

This help page references the formula editor prior to SIMUL8 2015. If you are on SIMUL8 2015, then please refer to this help file on the latest formula editor layout.

The formula editor lets you enter and adjust an individual parameter of a Visual Logic command, IF line or SET line.

If you know exactly what you want to enter, or you just want to enter a number then simply type directly into the text box at the top of the window.

Otherwise click on the “Select a type of list” options to display the available Information Store and Objects. Then double click the option you want and SIMUL8 will type it for you.

If the Formula Editor is not wide enough then it can be resized by dragging the margins or the divider at the right hand side of the panels.

When you click OK the text in the top box is checked. If SIMUL8 cannot compile the text then the formula editor will not close and the problem text will be highlighted.

If you use brackets in your formula they must be [square brackets] (unless they are part of an object name).

For example if you want a formula like:
Queue for Work Center 1.Count Contents+Queue for Work Center 2.Count Contents, then double click “Queue for Work Center 1” in the left hand list followed by “Count Contents” in the right hand list.

Then type a +, then double click “Queue for Work Center 2” in the left hand list followed by “Count Contents” in the right hand list again.

See Also