{"identifier":44101,"topic":"Commands","name":"pop","text":"<code><pre>pop card\npop card { into | after | before }  \u00ac\n         <\/pre><\/code>[<i><code>chunk<\/i> of<\/pre><\/code>]<code> <i>container<\/i> <\/pre><\/code> <br><br>\n\n The<code> pop card <\/code>command retrieves the identification (full card ID and stack path name) of a card previously saved with the<code> push card <\/code>command. <br><br>\n\n If you don\u2019t provide a container to hold the card information,<code> pop <\/code>goes directly to the popped card. <br>\n<br>\nIf you do specify a container,<code> pop <\/code>puts the card\u2019s identification into the container, and you don\u2019t go anywhere. You can then check the card ID or stack to decide whether you want to return to that card. <br>\n","related":{"38981":"go","45173":"push"},"examples":"","demo":"<code><pre>on goHomeAndBack\n  set lockmessages to true -- to leave this field up\n  push this card\n  go to card 3 of stack \"Home\"\n  wait 30\n  <b>pop<\/b> card\nend goHomeAndBack<\/pre><\/code>\n ","debug":{"9":["pop card\rpop card { "],"10":["If you do specify a "]}}