The ARIDEMO package. Randy Trigg Xerox Corporation [First written: 3/29/85 Randy Trigg] {phylum}release1.2>library>aridemo (.dcom) This is an example of how the programmer's interface can be used to build a small system to demonstrate a notefile under program control. Users building their own demos may want to use this as a model. ARIDEMO expects the variable ARI.DemoFileName to be bound to the name of a notefile (default is {phylum}release1.2>demo>7stepsdemo). ARIDEMO treats the notefile as a 2-level hierarchy consisting of the Contents box at the top, its children at the next level, and their children (or destinations of outgoing links) at the next level. ARIDEMO first opens the notefile and then allows the user to select from a menu consisting of the titles of each of the children of the Contents box. (There is also a **QUIT** menu option for closing the notefile and exiting ARIDEMO.) After choosing a child card, say C, ARIDEMO put up a menu with title C's title and with options First, Next, Previous, and EndLesson. Selecting one of the first three brings up a child of C in the order that they appear in C. Next goes forward down the list, Previous goes in reverse direction, First jumps to the head of the list, and EndLesson returns to the top level menu. At all times, only one card is displayed on the screen. The ARIDEMO COMS file contains various parameters which should be set for the case at hand. These include ARI.DemoFileName for the notefile name; ARI.MainMenuFont, ARI.MainMenuTitleFont and ARI.MainMenuPosition with information about where and how to display the main menu; ARI.LessonMenuFont, ARI.LessonMenuTitleFont, and ARI.LessonMenuPosition with info on the display of the lesson menu; and finally, ARI.DefaultLessonCardPosition gives the default location at which the lesson cards are to be brought up. However, if the card contains a position on the POSITION property of its Notecards proplist, then it will be positioned there instead. See the COMS for the default settings of these variables. NILNILGACHA NILNILGACHA NILNIL GACHA NILNILGACHA NILNILGACHA GACHA NILNILGACHA NILNILGACHA NILNIL%GACHA NILNILGACHA NILNIL6GACHA NILNILGACHA NILNILËGACHA NILNILGACHA NILNILYGACHA NILNILGACHA NILNIL¡GACHA NILNILGACHA NILNILÁGACHA %z¸