anachronox-sdk/docs/stab/stab_sortbystring.html

34 lines
975 B
HTML
Raw Permalink Normal View History

2002-01-21 00:00:00 +00:00
<html>
<head>
<title>STAB_SortByString</title>
<meta name="Author" content="Joey">
<link rel="stylesheet" type="text/css" href="../webdocs.css">
</head>
<body>
<h1><a name="ape_stab_sortbystring"></a>STAB_SortByString</h3>
<p>The <b>STAB_SortByString</b> function sorts the elements in a STAB object.
The sort is case-sensitive.</p>
<PRE class="syntax"><b>extern STAB_SortByString</b>
<b> float</b><i> handle</i> // handle to STAB
<b> float</b><i> revflag</i> // (optional) sort descending flag
</PRE>
<h4>Parameters</h4>
<dl>
<dt><i>handle</i></dt>
<dd>[in] Handle to a STAB object previously returned from
<a href="stab_create.html"><b>STAB_Create</b></a>.
</dd>
<dt><i>revflag</i></dt>
<dd>[in] If specified and non-zero, the list is sorted in reverse (descending) order.</dd>
</dl>
<h4>Remarks</h4>
<p>If <i>handle</i> is not a valid STAB handle, an error message will
be printed to the console.</p>
</body>
</html>