Routine Operations Dialog

From Planimate Knowledge Base
Jump to navigation Jump to search

This dialog enables you to browse and select a routine operation. These can range from a simple "Set" to set an attribute's value to sorts, searches, conditional statements and loops.

Two lists show routine operation categories and operations. Selecting a category will set the operations list with the relevant operations. "ALL" is included as a category.

Notes on the currently selected routine operation (how its formatted, its expected parameters and comments) are displayed in the field at the bottom of the dialog.

You can type operations into the combo-box field at the top. As text is typed, the operations list is filled with any matching routine operations (from any category) sorted in order of match depth - it matches what you type within the operation's name as well as at the beginning.

Some operations such as Set or Inc can be matched either by typing their name or by the notation indicated in brackets, so "=" can be typed for Set, "+=" for Inc etc.

If the text typed exactly matches an operation, it gets highlighted and placed at the top of the operations list. Other operations may still be in the list if they contain the entered text.

If an operation is highlighted, the comments field pertains to it. If no operation is highlighted then the comments field pertains to the topmost operation in the operations list.

Pressing enter/OK selects the highlighted operation. If none is highlighted then it selects the top operation in the operations list. This enables rapid keyboard selection of operations by typing the minimum needed to get it to the top of the operations list.

Using the up and down arrows on the combo-box field navigates the routine operations in alphabetical order, updating the category, operations and comments areas. This is useful for browsing operations by name when the category is not known.

The tab order of the fields is arranged for speed:

Initial: Combo-field, then operations list, then OK button.

The Enter key can be used at any time to select the highlighted or topmost operation.

TeXt CaSe is not considered in matching routine operations. Generally the following rules are used:

  • Most operations are named in MixedCase (sometimes called CamelCase)
  • Scientifc operations and math functions are in lower case
  • Execution control operations are in UPPERCASE



idkbase note 10164