问题标签 [prolog-directive-dynamic]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
22 问题
0
投票
1
回答
82
浏览
prolog - 使用 dynamic/1 和 var/1 创建允许以下内容的 Prolog 子句
最后两个很简单,我使用 say([the, capital, of , switzerland, is, bern])。但是如何让Prolog输出 谢谢而不是真的?那么其他句子呢?非常感谢。
我尝试编写一些代码,但效果不佳。
0
投票
1
回答
151
浏览