set_prolog_flag(unknown,fail)
"Lumj" <[email protected]> Thu, 24 Apr 2014 21:18:04 +0800
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
I want a dynamic module fail when it comes to an undefined predicate, so I: w:set_prolog_flag(unknown,fail). But it warns me that setting unknown to a value other than error is not recommended in the global module, as if I'm setting flag in the user module, and then I find that it does take effect in the user module. Isn't this call correct? -------------- next part -------------- HTML attachment scrubbed and removed