/
lasersquad
/
DynamicArrays
Обзор
Документация
Войти
/
lasersquad
/
DynamicArrays
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
dynamicarrays/docs/DynamicArrays.html
1 358 строк
48 KB
lasersquad
no message
11 фев 2003, 13:17
11 фев 2003, 13:17
8d91b09
Код
Авторство
О чём код?
<HTML> <HEAD> <TITLE>Dynamic Arrays</TITLE> </HEAD> <BODY > <table width="100%" border="0" cellpadding="5" cellspacing="0"> <tr> <td align=center bgColor=#009999> <font face="verdana,arial" size="5" color="#FFFFFF"> <b>������������ ������� <br>(Arrays)</b></font><br> <font face="verdana,arial" size="2" color="#FFFFFF"><b> Version 2.0</b><br></font> </td> </tr> </table> <font face="verdana,arial" size=2> <p>Copyright © 1998-2001 by Andrey Romanchenko<br> All rights reserved. <p><table cellspacing=2 cellpadding=0> <tr> <td><font face="verdana,arial" size=2> <i>e-mail: </i></font> </td> <td><font face="verdana,arial" size=2> <a href="mailto:lasersquard@yahoo.com?subject=Dynamic Arrays version 2.0">lasersquad@tut.by</a></font> </td> </tr> <tr> <td><font face="verdana,arial" size=2> <i>web site: </i></font> </td> <td><font face="verdana,arial" size=2> <a href="http://DynamicArrays.narod.ru" target=_new>http://DynamicArrays.narod.ru/</a></font> </td> </tr> <tr> <td></td> <td><font face="verdana,arial" size=2> <!-- (������ �����: <a href="http://www.dynamicarrays.cjb.net/" target=_new>http://www.dynamicarrays.cjb.net/</a>)</font>--> </font></td> </tr> </table> <h3>����������</h3> <ul> <li> <a href="#commondescr">����� ��������</a> <li> <a href="#instalation">����������</a> <li> <a href="#globals">���������� �����������</a> <li> ������ <ul> <li> <a href="#THArrayBase">THArrayBase</a> <li> <a href="#THArray<TYPE>">THArray<Class T></a> <li> <a href="#THArrayStringFix">THArrayStringFix</a> <li> <a href="#THArrayObjects">THArrayRaw</a> </ul> </ul> <hr> <a name="commondescr"></a> <h3>����� ��������</h3> ������������ ������� ��� ����� ������� ��� ��������, �������� ������ � ��������������� ������� ������������ ����� . <br><br> ������ ��� �������� ������ ���������� ����������� �� ���� ����� ���������� ��������� � �������.<br><br> ������ ���������� �� ������� ������� ���������� ��������� �� ������������ ��������� ��� �� �������������� ���������� �������� �� ��������� ������ � ������� ��� �������� ������������������.<br><br> ��� ������� zero based �.�. ������ ������� ������� ����� ������ 0, ������ 1 � �.�. <br><br> <hr> <a name="instalation"></a> <h3>����������</h3> ������������ ������� �� ������� ������� ����������. ���������� �������� ������ <strong>DynamicArrays.h</strong> � ���� � ����� �������� ����� � ������� ��������� <br><br> <font color=blue>#include</font> <font color=green>"DynamicArrays.h"</font> <br><br> � ��� ����������� ������������ �������� ������ ��� ��������.<br><br> <hr> <a name="globals"></a> <h3>���������� �����������</h3> � <strong>DynamicArrays.h</strong> ���������� 2 ���������� ���� (TStringHash, PHArrayInt).<br> ��� TStringHash ��������� ���<br><br> <font color=blue>typedef THash</font><<font color=blue>std</font>::<font color=blue>string</font>, <font color=blue>std</font>::<font color=blue>string</font>><font color=blue> TStringHash</font>;<br><br> � �������� �������� ������������ ���� ������� � ���������� �������� �������� ������ (<font color=blue>std</font>::<font color=blue>string</font>) ��� PHArrayInt ��������� ���<br><br> <font color=blue>typedef THArray</font><<font color=blue>int</font>>* <font color=blue>PHArrayInt</font>;<br><br> � �������� ������� ������� ���� - ��������� �� ������ ����� �����. <br><br> <hr> <a name="THArrayBase"></a> <h3>THArrayBase</h3> ����� ��������� ����� ���� ������� ������������ ��������. THArrayBase ��� ����������� �����, ������� ���������� ����� ������ ������ � ���������. �� �������� ���������������� ������� (��������) ������� �������� ������ �� ������ ������� �� ������� �� ���� �������� ��������. <br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"> <font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <a name="Capacity"></a> <td><font face="Courier New" size=2> <font color="#0000FF">int</font> <font color="#AA0000">Capacity</font>()</font></td> <td><font face="verdana,arial" size=2> �� ������� ��������� (������ ������� ���� <font color="#0000FF">�</font>) ��������� ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF">inline int</font><font color="#AA0000"> Count</font>() <font color="#0000FF">const </font> </font></td> <td><font face="verdana,arial" size=2> ���������� ��������� � �������</font></td> </tr> <tr> <td><font face="Courier New" size=2> <strong>Memory</strong>:pointer;</font></td> <td><font face="verdana,arial" size=2> ��������� �� ������ ������� ���������.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"> <font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <a name="Add"></a> <td><font face="Courier New" size=2> <font color="#0000FF">virtual int</font> <font color="#AA0000">Add</font> (<font color="#0000FF">const void</font>* Value);</font></td> <td><font face="verdana,arial" size=2> ��������� � ����� ������� �������� ����������� �� ������ <strong>Value</strong>. ���������� ����� �������, ���� ���� ��������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> procedure <strong>AddMany</strong>(pValue:pointer;Count:integer); </font></td> <td><font face="verdana,arial" size=2> ��������� ��������� �������� � ����� �������. ����� ������������ ��� ����������� ������ ������� � ������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF">virtual void</font><font color="#AA0000"> AddFillValues</font>(<font color="#0000FF">const int</font> Num); </font></td> <td><font face="verdana,arial" size=2> ��������� <strong>Num</strong> ��������� � ����� �������. ������ ���������� ������������ ���������� ����������.</font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF">virtual void</font><font color="#AA0000"> Clear</font>();</font></td> <td><font face="verdana,arial" size=2> ������ ������, �� ������ �� ����������� (��������� ��� �������� ����� ������). ���� ����� �������� ���������������� ������, �� ������ �������� ��������, ������ ������� �� ����������� - ��������� ��� �� ����� ������������� ������. ��. ����� ����� <a href="#ClearMem">ClearMem</a>. </font></td> </tr> <tr> <a name="ClearMem"></a> <td><font face="Courier New" size=2> <font color="#0000FF">virtual void</font><font color="#AA0000"> ClearMem</font>;</font></td> <td><font face="verdana,arial" size=2> ������ ������, ��� ���� ���������� ��� ������.</font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF"> virtual void</font><font color="#AA0000"> DeleteValue</font>(<font color="#0000FF">const int</font> Index);</font></td> <td><font face="verdana,arial" size=2> ������� ������� � ������� <strong>Index</strong>. ��� ��������� �������� ���������� � ������. ������ ��� ���� �� �������������. ��. ����� <a href="#Hold">Hold</a> ��� ������������ ��������� ������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF">virtual void</font><font color="#0000FF"> InsertValue</font> (<font color="#0000FF">const int</font> Index,<font color="#0000FF"> const void</font>* Value); </font></td> <td><font face="verdana,arial" size=2> ��������� �������� �� ������� ��������� <strong>Value</strong>, �� �� � �����, � � ������� <strong>Index</strong>. ��� ��������� �������� ����������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> procedure <strong>InsertMany</strong>(num:integer;pValue:pointer;Count:integer); </font></td> <td><font face="verdana,arial" size=2> �� �� �����, �� ��������� ��������.</font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF">inline int</font><font color="#AA0000"> IndexOf</font>(<font color="#0000FF">const T</font>& Value)<font color="#0000FF">const</font>; <br> <font color="#0000FF">inline int</font><font color="#AA0000"> IndexOf</font>(<font color="#0000FF">const T</font>& Value, <font color="#0000FF">const Compare</font><<font color="#0000FF">T</font>%gt;& cmp)<font color="#0000FF">const</font>; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. <br> ��������� ��������� ������������ ���������� <strong>=</strong>, ���� ��� ��������� ��������� ���� ���� �������� ����������� ��� �� ����� ������ �� ����� ���������� ���� �-��� ��� ���������, ��. ��������� �����. ��� ������ ���������� �������� ����� ������������ ����� <a href="#IndexOfFrom">IndexOfFrom</a>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> <font color="#0000FF">inline int</font><font color="#AA0000"> IndexOf</font>(<font color="#0000FF">const T</font>& Value, <font color="#0000FF">const Compare</font><<font color="#0000FF">T</font>>& cmp)<font color="#0000FF">const</font>; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. <br> ��������� ������������� � ������� ���������������� ������ <font color="#0000FF">const Compare</font><<font color="#0000FF">T</font>%gt;. ���������� �������������� ���� ����� ��� ���������� ����� ��� ����� � ����������� ����� <strong>eq</strong>. ��. ������ � ����� DynamicArrays.h ��� ���������������� ��������� ����� <font color="#0000FF">std</font>::<font color="#0000FF">string </font> ��� ����� ��������. ��� ������ ���������� �������� ����� ������������ ����� <a href="#IndexOfFrom">IndexOfFrom</a>. </font></td> </tr> <tr> <a name="IndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:pointer;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� �� ������� ��������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������.<br> ������ ����� ��������� ����� ���� ����� <strong>IndexOfFrom</strong> ��������������� ��� ������ ��������� ������������� ���� (��� ��������� ������� �� ������, �������� <a href="#THArrayDouble">THArrayDouble</a> ������ �������� <strong>Double</strong>) ������� ���� ������������ ����� ��������� <strong>THArray</strong> �� ������ ����� ������������ ��� ����� <strong>IndexOfFrom</strong> ��� ������. </font></td> </tr> <tr> <a name="Hold"></a> <td><font face="Courier New" size=2> procedure <strong>Hold</strong>;</font></td> <td><font face="verdana,arial" size=2> ������ ������ ������ �������. �������� ������ ������ ��� ��� ��������, ������� ���� � �������. �� � ���������� ��������� �������� ����� ��� �������, ������ ��� ������� ������ ����� ������ ��� ���������� ������� �� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> void <strong>Grow()</strong>; </font></td> <td><font face="verdana,arial" size=2> ����������� ���������� ������ <a href="#Capacity">(Capacity)</a> ��� �������� ����� ��������� �� ������������ ���������. ��� ������� �������� (������ <strong>64</strong> ���������) ������ ������������� �� <strong>25%</strong>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> void <strong>GrowTo</strong>(int ToCount); </font></td> <td><font face="verdana,arial" size=2> ����������� ���������� ������ <a href="#Capacity">(Capacity)</a> ��� �������� ����� ���������. ����� ������ ���������� ������ ����������� �� ��������� ������� <strong>Capacity = max(Capacity ���������� �� ������������ ���������, Count)</strong>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> T <strong>GetValue</strong>(const int Index);const; </font></td> <td><font face="verdana,arial" size=2> �������� �������� �������� � ������� <strong>num</strong>. ����� �������� ���� ����� ����� ������ <strong>pValue</strong>, � ������� ��������� ���� ��������. ��� ����������� �����������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> T* <strong>GetValuePointer</strong>(const int Index):const; </font></td> <td><font face="verdana,arial" size=2> �������� ��������� �� ������� � �������<strong>Index</strong>. ���������� ��������� �� ������� ���� T ������ �������. ���������� ������ �������� ��������� � � ������� ����� ����������, ������� �� ���������� � ��� �������� �������������.</font></td> </tr> <tr> <td><font face="Courier New" size=2> procedure <strong>MoveData</strong>(FromPos,Count,Offset:integer);virtual;</font></td> <td><font face="verdana,arial" size=2> ����������� ������ � �������, ������� � <strong>FromPos</strong> ����������� <strong>Count</strong> �� �������� <strong>Offset</strong>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> void <strong>SetCapacity</strong>(const int Value); </font></td> <td><font face="verdana,arial" size=2> ��������� ������ ��� <strong>Value</strong> ��������. ���� �������� � ������� ���� ������, ������ ���������. </font></td> </tr> <tr> <a name="Swap"></a> <td><font face="Courier New" size=2> inline void <strong>Swap</strong>(int Index1, int Index2); </font></td> <td><font face="verdana,arial" size=2> ������ ������� �������� � ��������� <strong>Index1</strong> � <strong>Index2</strong>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> procedure <strong>UpdateMany</strong>(num:integer;pValue:pointer;Count:integer); </font></td> <td><font face="verdana,arial" size=2> �� �� �� ��� ���������� ��������.</font></td> </tr> <tr> <td><font face="Courier New" size=2> void <strong>Zero()</strong>; </font></td> <td><font face="verdana,arial" size=2> ��������� ������ ������� �� ��������� ������� ��� ������� ������� ����������� �� ��������� T() (� ������ ����� � ������������ ����� ������ ����������� ������). ����������� ���� ����� ��������� �.�. �� �������� ��� �������� ������ � �� ������������ ����� ��� ����������. </font></td> </tr> </table> <br> <hr> <a Name="THArrayInteger"></a> <h3>THArrayInteger</h3> ���������������� ������������ ������ ��������� ������ ����. �������� ����������� ������������������� ������ <a href= "">THArrayBase</a>. ���������� ����� ������� ����� ���� ��� ������ ���� ��� � ����� ������ (� ��� ����� � ������ �������). ������ ��� �������� ����� �����. <br> ��� ������� ��������� � ��������������� ������� ������ ���������� <strong>ERangeError</strong>. <br> ����� �������������� � �������� �����. ��� ����� �������� ������ <a href="#Push">Push</a> � <a href="#Pop">Pop</a>. ������ ��������� �������� � ����� �������, � ������ ������ � ������� ��������� ��������. ������ <a href="#Push">Push</a> � <a href="#Pop">Pop</a> ���� ������ � <strong>THArrayInteger</strong>. ���� ����� ������ ����� ����� ��� ������ ������� ������ �������.<br> <strong> THArrayInteger</strong> ����� ��� ���������� ������ ��� ������� � �������� ������ �������� � ������ - <a href="#AddFromString">AddFromString</a>, <a href="#GetAsString">GetAsString</a> . <br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:integer; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <a name="AddFromString"></a> <td><font face="Courier New" size=2> procedure <strong>AddFromString</strong>(InputString,Delimiters:string);</font></td> <td><font face="verdana,arial" size=2> ��������� ������ �������� �� ������ <strong>InputString</strong> ����������� ������������� <strong>Delimiters</strong>. ��������� ������ ������ ������������ �������������� ��� ����. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:integer):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>CalcMax</strong>:integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������������ �������� � �������. ���� ������ ������ �� ���������� <strong>-1</strong>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#IntegerIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="IntegerIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:integer;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> <tr> <a name="GetAsString"></a> <td><font face="Courier New" size=2> function <strong>GetAsString</strong>:string; </font></td> <td><font face="verdana,arial" size=2> �������� ��� �������� ������� � ������. �������� � ������ ��������� ��������. </font></td> </tr> <tr> <a name="Pop"></a> <td><font face="Courier New" size=2> function <strong>Pop</strong>:integer; </font></td> <td><font face="verdana,arial" size=2> ��������������� �������� �� �����. � �� ����� ���� ������� � ������� ��������� �������� � �������. ���� ������ ������ �� ������������ ���������� <strong>ERangeError</strong>. </font></td> </tr> <tr> <a name="Push"></a> <td><font face="Courier New" size=2> procedure <strong>Push</strong>(Value:integer); </font></td> <td><font face="verdana,arial" size=2> ���������� �������� � ����. � �� ����� ���� ��������� �������� � ����� �������. </font></td> </tr> </table> <br> <br> <a Name="THArrayByte"></a> <h3>THArrayByte</h3> ������ ��� �������� ����� <strong>byte</strong>, �� ���� ������� ������. <br> <strong>Byte</strong> ������������ ����� 8 ������� ����������� ����� ����� - ����������� ������� �������� ����������.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:byte; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:byte):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:byte):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#ByteIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="ByteIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:byte;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArraySmallInt"></a> <h3>THArraySmallInt</h3> ������ ��� �������� ����� <strong>SmallInt</strong>. <br> ������ <strong>SmallInt</strong> ������������ ����� 16 ������� �������� ����� �����.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:SmallInt; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:SmallInt):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:SmallInt):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#SmallIntIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="SmallIntIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:SmallInt;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArrayWord"> </a> <h3>THArrayWord</h3> ������ ��� �������� ����� � ������� <strong>Word</strong>.<br> ������ <strong>Word</strong> ������������ ����� 16 ������� ����������� ����� �����.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:Word; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:Word):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:Word):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#WordIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="WordIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:Word;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArrayLongWord"></a> <h3>THArrayLongWord</h3> ������ ��� �������� ����� � ������� <strong>LongWord</strong>.<br> ������ <strong>LongWord</strong> ������������ ����� 32 ������� ����������� ����� �����.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:LongWord; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:LongWord):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:LongWord):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#LongWordIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="LongWordIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:LongWord;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArrayInt64"></a> <h3>THArrayInt64</h3> ������ ��� �������� ����� � ������� <strong>Int64</strong>.<br> ������ <strong>Int64</strong> ������������ ����� 64 ������� �������� ����� �����.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:Int64; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:Int64):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:int64):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#int64IndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="int64IndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:int64;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArrayBoolean"></a> <h3>THArrayBoolean</h3> ������ ��� �������� ����� � ������� <strong>Boolean</strong>.<br> ������ <strong>boolean</strong> �������� ��� ���� ���� (Delphi �������������).<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:boolean; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:boolean):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:boolean):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#BooleanIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="BooleanIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:boolean;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArrayPointer"></a> <h3>THArrayPointer</h3> ������ ��� �������� ����������. <br> ��������� ����� ��������� ���� ������. ������� ����������� �������� ��� ��������� ������� <strong>THArrayPointer</strong> �� ����������.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:pointer; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:pointer):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:pointer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#PointerIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="PointerIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:pointer;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <br> <a Name="THArrayObjects"></a> <h3>THArrayObjects</h3> ������ ��� �������� ���������� �� ������ Delphi.<br> �������� ��������� �������������� ������� ��� ������ � ���������� ��� � ����������� �� <strong>TObject</strong>. ��������! ��� ���������� ������������� ��������� ��� ���������� �������, ������� ��� ������� ������� ����� Free. ��� ���������� ������� ��� ���������� ����������� �������� ����������� ����� <a href="#THArrayPointer">THArrayPointer</a>. <br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:TObject; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:TObject):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <a name="ObjectsClearMem"></a> <td><font face="Courier New" size=2> procedure<strong> ClearMem</strong>;</font></td> <td><font face="verdana,arial" size=2> ������ ������, ��� ���� ���������� ��� ������ � �������� ��� ���������� �������! ��� �� ������� ������ ������ �� ������� ������� <a href="#SafeClearMem">SafeClearMem</a>. </font></td> </tr> <tr> <td><font face="Courier New" size=2> procedure <strong>Delete</strong>(num:integer); </font></td> <td><font face="verdana,arial" size=2> ������� ������� � ������� <strong>num</strong>, �������� ��� ���� ��� ������! ��� �������� ������ ������ �� ������ ��. <a href="#SafeDelete">SafeDelete</a>.<br> ��� ��������� �������� ���������� � ������. ������ ��� ���� �� �������������. ��. ����� <a href="#Hold">Hold</a> ��� ������������ ��������� ������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:TObject):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#ObjectsIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="ObjectsIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:TObject;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> <tr> <a name="SafeClearMem"></a> <td><font face="Courier New" size=2> procedure<strong> SafeClearMem</strong>;</font></td> <td><font face="verdana,arial" size=2> ������ ������, ��� ���� ���������� ��� ������. ������� ������ ������ �� �������, ���� ������� �� �����������.</font></td> </tr> <tr> <a name="SafeDelete"></a> <td><font face="Courier New" size=2> procedure <strong>SafeDelete</strong>(num:integer); </font></td> <td><font face="verdana,arial" size=2> ������� ������� � ������� <strong>num</strong>. ��� ���� ��� ������ �� ����������� � ��������� ������ ������ �� ����.<br> ��� ��������� �������� ���������� � ������. ������ ��� ���� �� �������������. ��. ����� <a href="#Hold">Hold</a> ��� ������������ ��������� ������. </font></td> </tr> </table> <br> <a Name="THArrayCurrency"></a> <h3>THArrayCurrency</h3> ������ ��� �������� ��������� ����� � ������� <strong>Currency</strong>.<br> <strong>Currency</strong> ��� ����������� ��������� ��� ������ � Delphi ��� ������������� �������� ����������.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:Currency; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:Currency):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:Currency):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#CurrencyIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="CurrencyIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:Currency;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <a Name="THArrayDouble"></a> <h3>THArrayDouble</h3> ������ ��� �������� ��������� ����� � ������� <strong>Double</strong>.<br> <br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:Double; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:Double):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:Double):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#DoubleIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="DoubleIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:Double;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <a Name="THArrayExtended"></a> <h3>THArrayExtended</h3> ������ ��� �������� ��������� ����� � ������� <strong>Extended</strong>.<br> ������ <strong>Extended</strong> ������������ ����� 10 ��������� ����� � ��������� ������. ����������� ��� ���������� � ��������� ���������.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:Extended; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:Extended):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:Extended):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#ExtendedIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="ExtendedIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:Extended;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <a Name="THArrayString"> </a> <h3>THArrayString</h3> ������ ��� �������� ����� ����� �����.<br> �� ����� ���� ������������ ����� ������ ���������� �� ������.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:String; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:String):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:string):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#StringIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="StringIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:string;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <a Name="THArrayStringFix"></a> <h3>THArrayStringFix</h3> ������ ��� �������� ����� ������������ �����. ������� ��� �������� ����� ������ ��� ������. <br> ��� �������� ���������� ����� ������ ����������� ����������� ����������� <a href="#CreateSize">CreateSize(Size:integer)</a>.<br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:String; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <a name="CreateSize"></a> <td><font face="Courier New" size=2> constructor <strong>CreateSize</strong>(Size:integer); <td><font face="verdana,arial" size=2> ��� �������� ���������� ����� ������ ������ �������� ������������ ��� ���������� ����������� ����������� <strong>CreateSize</strong> � ������� ���������� ������ ������ � ������ <br>Size. ����� �������� ������������ (<strong>Create</strong> ��� ����������) ������� ��������� ����������. </font></td> </font></tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:string):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:string):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#StringFixIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="StringFixIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:string;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br> <a Name="THArrayWideStrings"></a> <h3>THArrayWideStrings</h3> ������ ��� �������� ����� � ������� <strong>Unicode</strong> (<strong>WideString</strong> � Delphi).<br> <br><br> <table cellspacing="0" cellpadding="5" border="1"> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> �������� </font></td> </tr> <tr> <td> <font face="Courier New" size=2> property <strong>Value</strong>[Index:integer]:WideString; default;</font></td> <td><font face="verdana,arial" size=2> ��������� ���� ������������� �������� �� �������. ���� ������ �� ���������� �� ������ ���������� <strong>ERangeError</strong>.</font></td> </tr> <tr bgcolor="#009999"> <td colspan="2" align="center" valign="middle"><font face="verdana,arial" size=4> ������ </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>AddValue</strong>(Value:WideString):integer;</font></td> <td><font face="verdana,arial" size=2> ��������� �������� <strong>Value</strong> � ����� �������. ���������� ������ ����������� ��������. </font></td> </tr> <tr> <td><font face="Courier New" size=2> function <strong>IndexOf</strong>(Value:WideString):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ ������� ����������� �������� <strong>Value</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ��� ������ ���������� �������� ����� ������������ ������� <a href="#WideStringIndexOfFrom">IndexOfFrom</a> </font></td> </tr> <tr> <a name="WideStringIndexOfFrom"></a> <td><font face="Courier New" size=2> function <strong>IndexOfFrom</strong>(Value:WideString;Start:integer):integer; </font></td> <td><font face="verdana,arial" size=2> ���������� ������ �������� <strong>Value</strong>, ����� �������� � �������� � �������� <strong>Start</strong>. ���� ������ �� ����� �� ���������� <strong>-1</strong>. ������������ ��� ���������������� ������. </font></td> </tr> </table> <br><br><br><br><br><br> <br><br><br> </font></BODY> </HTML>