我最近开始研究用于开发专家系统的CLIPS编程。由于所有命令结构对我来说都很新,我开始使用(help)命令寻求命令帮助。但是CLIPS Shell抛出了无法打开的帮助文件,如下所示。
CLIPS> (help)
Loading help file entries from ${prefix}/share/clips/clips.hlp.
Please wait...
[TEXTPRO1] Could not open file "${prefix}/share/clips/clips.hlp".
CLIPS> (exit)
我希望知道在哪里以及如何将CLIPS帮助文件路径设置为自定义CLIPS安装路径。
答案 0 :(得分:0)
您可以通过修改setup.h中的HELP_DEFAULT值并重新编译CLIPS来更改默认帮助路径。您还可以使用help-path功能更改路径:
CLIPS (V6.24 06/15/06)
CLIPS> (help)
Loading help file entries from clips.hlp.
Please wait...
[TEXTPRO1] Could not open file "clips.hlp".
CLIPS> (help-path)
The current help entries file is clips.hlp
CLIPS> (help-path "../clips.hlp")
Help entries file reset to ../clips.hlp
CLIPS> (help)
Loading help file entries from ../clips.hlp.
Please wait...
HELP_USAGE FUNCTION_SUMMARY
RELEASE_NOTES COMMAND_SUMMARY
CONSTRUCT_SUMMARY INTEGRATED_EDITOR
MAIN Topic?