<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ARSperl Programmer's Manual</title>
</head>
<body style="background-color: rgb(255, 255, 255);">
<h2><code>$version = ars_APIVersion()</code></h2>
This routine returns the "major" version of the API that the ARSperl
module was compiled against. <br>
The corresponding API and AR System versions are as follows:
<br>
<ul>
<li>API 13 and AR System 7.1</li>
<li>API 12 and AR System 7.0</li>
<li>API 11 and AR System 6.3</li>
<li>API 10 and AR System 6.0</li>
<li>API 9 and AR System 5.1</li>
<li>API 8 and AR System 5.0</li>
<li>API 7 and AR System 4.5</li>
<li>API 6 and AR System 4.0</li>
<li>API 5 and AR System 3.2</li>
<li>API 4 and AR System 3.0 and 3.1</li>
</ul>
<dl>
<dt><b>On success</b></dt>
<dd> Returns an integer. </dd>
<dt><b>On failure</b></dt>
<dd> Returns undef. </dd>
</dl>
<p>Example: </p>
<pre> $v = ars_APIVersion();<br> print "This installation of ARSperl was compiled against ARS API version $v\n";<br> </pre>
<i>ars_APIVersion was introduced in version 1.62 of ARSperl</i>
<p></p>
<hr width="30%">
<p><a href="toc.html"><img alt="<--" src="arrow.gif" align="middle"> Table of Contents </a>
</p>
<p></p>
<address>Last changes to this page 24 July 2007 by michiel.beijen@mansolutions.nl<br>
© J.C.Murphy, J.W.Murphy 1995-2007 arsperl@arsperl.org
</address>
</body>
</html>