1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="gprolog.css">
<TITLE>
General format
</TITLE>
</HEAD>
<BODY TEXT=black BGCOLOR=white>
<A HREF="gprolog016.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="gprolog018.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>
<H3 CLASS="subsection"><A NAME="htoc30">5.1</A> General format</H3>
The definition of control constructs, directives and built-in predicates is
presented as follows:<BR>
<BR>
<B>Templates</B><BR>
<BR>
Specifies the types of the arguments and which of them shall be instantiated
(mode). Types and modes are described later (section <A HREF="gprolog018.html#Types-and-modes">5.2</A>).<BR>
<BR>
<B>Description</B><BR>
<BR>
Describes the behavior (in the absence of any error conditions). It is
explicitly mentioned when a built-in predicate is re-executable on
backtracking. Predefined operators involved in the definition are also
mentioned.<BR>
<BR>
<B>Errors</B><BR>
<BR>
Details the error conditions. Possible errors are detailed later
(section <A HREF="gprolog019.html#Errors">5.3</A>). For directives, this part is omitted.<BR>
<BR>
<B>Portability</B><BR>
<BR>
Specifies whether the definition conforms to the ISO standard or is a GNU Prolog
extension.<BR>
<BR>
<HR SIZE=2>
Copyright (C) 1999-2007 Daniel Diaz
<BR>
<BR>
Verbatim copying and distribution of this entire article is permitted in any
medium, provided this notice is preserved. <BR>
<BR>
<A HREF="index.html#copyright">More about the copyright</A>
<HR>
<A HREF="gprolog016.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="gprolog018.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
|