# Pfc -- does it support calling prolog goals

**URL:** <https://swi-prolog.discourse.group/t/pfc-does-it-support-calling-prolog-goals/2668>\
**Category:** Pack\
**Tags:** pfc\
**Created:** [July 21, 2020, 2:58pm UTC](https://swi-prolog.discourse.group/t/pfc-does-it-support-calling-prolog-goals/2668 "2020-07-21T14:58:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grossdan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/grossdan/32/23_2.png) [@grossdan](https://swi-prolog.discourse.group/u/grossdan)\
**Post date:** [July 21, 2020, 2:58pm UTC](https://swi-prolog.discourse.group/t/pfc-does-it-support-calling-prolog-goals/2668/1 "2020-07-21T14:58:00Z")

</div>

Hello Douglas (@logicmoo)

Does, i just tried (on windows) creating a rule that calls a prolog goal as so:

:- ain(start ==\> {goal\_to\_call(param1)}).

However, the goal was not called.

Did i do a mistake in the syntax?

thank you,

Dan

---

<div class="post-metadata">

**Author:** ![grossdan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/grossdan/32/23_2.png) [@grossdan](https://swi-prolog.discourse.group/u/grossdan)\
**Post date:** [July 21, 2020, 3:08pm UTC](https://swi-prolog.discourse.group/t/pfc-does-it-support-calling-prolog-goals/2668/2 "2020-07-21T15:08:03Z")

</div>

I now also notice that i don’t know how to reinitialize pfc – in “vanilla” prolog i have an init routine that retractall asserted facts i want wiped.

retracting facts under control of pfc breaks the system.

Is there a call to retract all added facts … and start anew
