# Print last choice point - Reply 3

**URL:** <https://swi-prolog.discourse.group/t/print-last-choice-point-reply-3/4726>\
**Category:** General\
**Created:** [December 7, 2021, 7:27am UTC](https://swi-prolog.discourse.group/t/print-last-choice-point-reply-3/4726 "2021-12-07T07:27:29Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [December 17, 2021, 4:04pm UTC](https://swi-prolog.discourse.group/t/print-last-choice-point-reply-3/4726/11 "2021-12-17T16:04:42Z")

</div>

Pushed some stuff that allows for `*` as a reply to a toplevel answer that will call this. Added the core functionality as print\_last\_choice\_point/0,2 to library(prolog\_stack). Adding with unit tests is an exercise to the user 🙂

---

_[View the full topic](https://swi-prolog.discourse.group/t/print-last-choice-point-reply-3/4726)._
