Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6388769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:19:11+00:00 2026-05-25T03:19:11+00:00

GNU Emacs 23.2.1 prolog-mode-version is a variable defined in `prolog.el’. Its value is 1.22

  • 0

GNU Emacs 23.2.1
prolog-mode-version is a variable defined in `prolog.el’. Its value is “1.22”

I have consulted the following file:

body(mercury, 36, small, none, none).
body(venus, 67, small, atmosphere, none).
body(earth, 93, small, atmosphere, none).
body(moon, 93, small, none, none).
body(mars, 141, small, atmosphere, none).
body(jupiter, 489, large, atmosphere, rings).

However, when I do the following:

body(Body, Miles, _, _, _,) , Miles > 100.

I get the following error, it seems perfectly legal to me:

?- body(Body, Miles, _, _, _,) , Miles > 100.
ERROR: Syntax error: Illegal start of term
ERROR: body(Body, Miles, _, _, _,
ERROR: ** here **
ERROR: ) , Miles > 100 . 
?-

Can anyone explain I am going wrong?

Many thanks for any advice,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:19:12+00:00Added an answer on May 25, 2026 at 3:19 am

    You have an extra comma in your query.
    It should be

    body(Body, Miles, _, _, _), Miles > 100.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using GNU/Emacs HEAD with the included cc-mode (c-version 5.32.2) on a GNU/Linux Debian
Although several thousand Emacs Lisp libraries exist, GNU Emacs, until version 24.1 did not
I've long been a fan of GNU Emacs' file navigation model. I've been switching
I cannot find an Intercal mode for GNU Emacs. Is there one?
given all the possible solutions to have a template system with GNU Emacs, what
I am writing an elisp file to integrate GNU Emacs with Zeitgeist over dbus.
I am using GNU emacs 23.1.1 on Fedora 12 I have this in my
gcc 4.6.0 GNU Emacs 23.2.1 I have some c code and at some point
I am running GNU Emacs 23 on a Windows-machine and having problems getting ido-find-file
I'm using GNU Emacs 22.2.1 and cperl 5.23. I have perl code like this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.