{"identifier":9168,"topic":"","name":"put 2","text":" The lines of text that you put into a pop-up button become the items of the  menu that appears when you click the button. <br><br>\n\n Before you can add items to a menu, the menu must already exist.  <br><br>\n\n The<code> <i>menuItemList<\/i> <\/code>is a comma-separated list of the items you want to add to the menu. Use the single character<code> \"-\" <\/code>to get a gray line. You can put up to 64 items into a menu with a single<code> put <\/code>statement. <br>\n<br>\n The optional<code> <i>messageList<\/i> <\/code>is a comma-separated list of message names that HyperCard sends to the current card when the user chooses one of the menu items. The number of items in the<code> <i>messageList<\/i> <\/code>must equal the number of items in<code> <i>menuItemList<\/i>.<\/code>  <br><br>\n\n To skip a message name, use an empty item\u2014a null between two commas: <br><br>\n\n <code>\"myMessage 1,,myMessage 3\"<\/code> <br>\n","related":{"24266":null,"27092":null,"34927":null,"34045":"create","34478":"delete","38686":"get","47503":"set"},"examples":"","demo":"","debug":{"9":["\rThe lines of text t"],"10":["\rThe optional messag"]}}