Calling an action tells the program to run the code in the action that is called. Call the PrintMenu action twice by typing the action name followed by a left and right paren. When you ran the program did the program output the menu twice?
Coding:
Hotkey Shortcuts
Move BlocksUP or DOWN or TAB
Run Program ALT + SHIFT + R
Stop Program ALT + SHIFT + S
Hide Tray ALT + SHIFT + X
Zoom In ALT + +
Zoom Out ALT + -
Open Help ALT + SHIFT + H
Navigate to Tray ALT + 1
Navigate to Blocks ALT + 2
Enter Navigation Mode SHIFT + ENTER
Blocks
Hint
Great job!
Try again
In the Main action add two action calls for PrintMenu using the format, PrintMenu(). Remember the name must match exactly to the defined action name, including the correct cases.
Dinner Menu
Chicken Pot Pie.....$15.95
Chicken Parmesan.....$17.50
Vegetarian Chili.....$11.00
Hamburger and Fries.....$18.95
Chef Salad.....$13.50
Dinner Menu
Chicken Pot Pie.....$15.95
Chicken Parmesan.....$17.50
Vegetarian Chili.....$11.00
Hamburger and Fries.....$18.95
Chef Salad.....$13.50