next up previous contents
Next: Variables Up: Prolog Syntax Previous: Prolog Syntax

Constants

A Constant is one of:

Atoms are made up of:

Normally, atoms start with a lower case letter. Note that, in a quoted atom, you can include a `` ' '' by prefixing it with another `` ' ''. So, to print a `` ' '' on the screen you will need a goal like write(' ' ' ').



Paul Brna
Mon May 24 20:14:48 BST 1999