Dialog Boxes and Menu Panels

 

Dialog boxes allow the user to input more than one item into the menu. A dialog boxes is sometimes referred to as a menu panel or simply panel.  

 

A dialog box is a special menu that remains on the screen until all the necessary input has been supplied. Behind each "fill in the blank" area in the panel or dialog box is an INPUT function or toggle selection. After the user has made all of the desired entries, clicking the OK button processes the dialog box. The expression area statements and the execution area statements are evaluated sequentially and the dialog box is dismissed.

 

Here is an example of a typical dialog box that accepts user input to calculate the SPECTRUM function:

 

 

To specify that a menu file is a dialog box, include the @panel or @dialog option at the beginning of the menu file.