プロが教えるわが家の防犯対策術!

SWI-Prologを使用してPrologの記述を行っているのですが、1つのファイルに対して、マシンを変えた途端に、以下のようなエラーが続きます。

単純なミスを犯しているのかとも思うのですが、自己解決出来ないので、エラーの回避方法に関してご教示いただければ幸いです。


ERROR: h:/01.pl:1:0: Syntax error: Operator expected
ERROR: h:/01.pl:2:1: Syntax error: Operator expected
ERROR: h:/01.pl:3:1: Syntax error: Operator expected
ERROR: h:/01.pl:4:1: Syntax error: Operator expected
ERROR: h:/01.pl:5:1: Syntax error: Operator expected
ERROR: h:/01.pl:6:1: Syntax error: Operator expected
ERROR: h:/01.pl:7:1: Syntax error: Operator expected
% h:/01.pl compiled 0.00 sec, 916 bytes
Welcome to SWI-Prolog (Multi-threaded, Version 5.4.7)
Copyright (c) 1990-2003 University of Amsterdam.
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://www.swi-prolog.org for details



以上がエラー文(Prologの行数をカットしました)です。

宜しくお願いします。

A 回答 (1件)

エラーを起こしている、コードがないと何も言えませんね。


メッセージは、演算子がないって言ってます。
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!