Use the Menu component to define a set of options and prompt the end user to select one of them.
This component should only be used directly from the Main Task of Interactive activities, and not from PBL scripts. Within the Main Task of the activity, set Implementation Type to Component, select the Menu component and method show.
In this example, the Menu component is used to prompt the user to select one of four options available.
show Menu using title = "File", entries = ["&New File", "Open &File", "&Close File", "&Save File"] returning mySelection = selection display "You selected: " + mySelection if mySelection = "New File" then display "A new file will be created" end if mySelection = "Close File" then display "Closing File" end