<!doctype html public "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>logtalk_version/3</title>
<link rel=stylesheet href="../../styles.css" type="text/css">
</head>
<body>
<hr />
<h2><code><a class="back" title="Return to index" href="../index.html#logtalk_version3">logtalk_version/3</a></code></h2>
<h4>Description</h4>
<blockquote>
<pre>
logtalk_version(Major, Minor, Patch)
</pre>
<p>
Returns the Logtalk preprocessor and runtime version.
</p>
</blockquote>
<h4>Template and modes</h4>
logtalk_version(?integer, ?integer, ?integer)
<h4>Errors</h4>
<dl>
<dt>Major is neither a variable nor an integer:</dt>
<dd><code>type_error(integer, Major)</code></dd>
<dt>Minor is neither a variable nor an integer:</dt>
<dd><code>type_error(integer, Minor)</code></dd>
<dt>Patch is neither a variable nor an integer:</dt>
<dd><code>type_error(integer, Patch)</code></dd>
</dl>
<h4>Examples</h4>
| ?- logtalk_version(Major, Minor, Patch).
<p class="center">
<strong><a href="forall2.html">Previous</a> | <a href="retractall1.html">Next</a> | <a href="../index.html">Table of Contents</a> | <a href="../../bibliography.html">Bibliography</a> | <a href="../../glossary.html">Glossary</a></strong>
Last updated on: May 6, 2002
</body>
</html>