To install the appstore app, right-click on your turtle to open the GUI, run
pastebin get iXRkjNsG appstore. To install announce, run
appstore get AlSweigart announce.
A small example of passing functions to functions.
This program is used in the Passing Functions to Functions section of Chapter 13 of Coding with Minecraft. You can view it at https://turtleappstore.com/book/chapter13.html#calibre_link-495