03.06.2013 Views

Turbo Prolog

Turbo Prolog

Turbo Prolog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

F Glossary<br />

anonymous variable The variable "_" used in place of an ordinary variable when the<br />

values that the ordinary variable may become bound to are of no interest.<br />

arguments Collective name for the objects and variable names in a relation.<br />

atom A relation, possibly involving objects or variables.<br />

attribute A positive whole number that determines the characteristics of the display<br />

in a given window, including color, blinking/non-blinking and normal/inverse video.<br />

backtracking The mechanism built into <strong>Turbo</strong> <strong>Prolog</strong> whereby, when evaluation of a<br />

given sub-goal is complete, <strong>Turbo</strong> <strong>Prolog</strong> returns to the previous sub-goal and tries to<br />

satisfy it in a different way.<br />

bound variable A variable that refers to a known value.<br />

calling a sub-goal (or predicate) An expression denoting that <strong>Turbo</strong> <strong>Prolog</strong> is now<br />

trying to satisfy a certain sub-goal (belonging to the given predicate).<br />

char An arbitrary character enclosed between two single quotation marks.<br />

compiler directives Instructions to the <strong>Turbo</strong> <strong>Prolog</strong> compiler to take special actions.<br />

clause A fact or rule for a particular predicate, followed by a period (.).<br />

compound goal A goal containing at least two sub-goals.<br />

compound object An object consisting of a functor and a list of objects separated by<br />

commas and enclosed in parentheses.<br />

current input device The currently assigned readdevice from which standard predicates<br />

take input by default.<br />

current output device The currently assigned writedevice to which standard predicates<br />

send output by default.<br />

cut (or!) The cut commits <strong>Turbo</strong> <strong>Prolog</strong> to all the choices made so far in the evaluation<br />

of the predicate containing the cut. Once the cut has been evaluated as a sub-goal,<br />

<strong>Turbo</strong> <strong>Prolog</strong> may not backtrack past it.<br />

database predicates Predicates for which facts can be added to or deleted from the<br />

<strong>Turbo</strong> <strong>Prolog</strong> system during execution.<br />

dialog window The system window in which external goals are given and the results<br />

of those goals recorded.<br />

215

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!