Text and Special Characters


Let's take a closer look at what makes the previous example a menu file.






A DADiSP menu consists of text and special keywords, or characters. In this case, the text is: Maximum, MAX, Minimum, MIN. The menu also contains a special character - the tilde ( ~ ) character.


The idea behind a menu is quite simple:


  1. Text that appears before the ~ (tilde) character is displayed "as is" in the pop up menu.

  2. Text that appears after the ~ executes when you select that particular menu item. Text that appears after the ~ does not appear in the displayed menu.

  3. When you select a menu item by moving the highlighted cursor over the item and pressing [Enter], DADiSP executes the function that appears after the ~ character and then clears the menu from the screen.


Tildes separate the menu file into two parts: what appears in the displayed menu, and what function DADiSP should execute if a particular item is selected.


Note: You must include a newline (carriage return) after the last line of text in the menu file.