151 lines
7.4 KiB
HTML
151 lines
7.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<title>array</title>
|
||
</head>
|
||
<body>
|
||
<h1>array</h1>
|
||
|
||
<pre>
|
||
<strong>array</strong> <em>option</em> <em>arrayName</em> ?<em>arg</em> <em>arg</em>...?
|
||
<a href="#anymore"><strong>array</strong> <strong>anymore</strong></a> <em>arrayName</em> <em>searchId</em>
|
||
<a href="#donesearch"><strong>array</strong> <strong>donesearch</strong></a> <em>arrayName</em> <em>searchId</em>
|
||
<a href="#exists"><strong>array</strong> <strong>exists</strong></a> <em>arrayName</em>
|
||
<a href="#get"><strong>array</strong> <strong>get</strong></a> <em>arrayName</em> ?<em>pattern</em>?
|
||
<a href="#names"><strong>array</strong> <strong>names</strong></a> <em>arrayName</em> ?<em>pattern</em>?
|
||
<a href="#nextelement"><strong>array</strong> <strong>nextelement</strong></a> <em>arrayName</em> <em>searchId</em>
|
||
<a href="#set"><strong>array</strong> <strong>set</strong></a> <em>arrayName</em> <em>list</em>
|
||
<a href="#size"><strong>array</strong> <strong>size</strong></a> <em>arrayName</em>
|
||
<a href="#startsearch"><strong>array</strong> <strong>startsearch</strong></a> <em>arrayName</em>
|
||
</pre>
|
||
|
||
<h2>ïðéóáîéå</h2>
|
||
|
||
<p> üÔÁ ËÏÍÁÎÄÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ÐÅÒÅÞÉÓÌÅÎÎÙÈ ÎÉÖÅ
|
||
ÏÐÅÒÁÃÉÊ Ó ÍÁÓÓÉ×ÁÍÉ. åÓÌÉ ÉÎÏÅ ÎÅ ÏÇÏ×ÏÒÅÎÏ ÓÐÅÃÉÁÌØÎÏ,
|
||
<em>arrayName</em> ÄÏÌÖÎÏ ÂÙÔØ ÉÍÅÎÅÍ ÓÕÝÅÓÔ×ÕÀÝÅÇÏ ÍÁÓÓÉ×Á.
|
||
áÒÇÕÍÅÎÔ <em>option</em> ÏÐÒÅÄÅÌÑÅÔ ËÏÎËÒÅÔÎÕÀ ÏÐÅÒÁÃÉÀ. äÌÑ
|
||
ËÏÍÁÎÄÙ ÏÐÒÅÄÅÌÅÎÙ ÐÅÒÅÞÉÓÌÅÎÎÙÅ ÎÉÖÅ ÏÐÃÉÉ.</p>
|
||
<dl>
|
||
<dt><a name="anymore"></a><strong>array</strong> <strong>anymore</strong>
|
||
<em>arrayName</em> <em>searchId</em></dt>
|
||
|
||
<dd> ÷ÏÚ×ÒÁÝÁÅÔ <strong>1</strong> ÅÓÌÉ ÐÒÉ ×ÙÐÏÌÎÅÎÉÉ ËÏÍÁÎÄÙ ÐÏÉÓËÁ (ÓÍ.
|
||
ÎÉÖÅ) ÏÓÔÁÌÉÓØ ÎÅ×ÙÂÒÁÎÎÙÅ ÜÌÅÍÅÎÔÙ ÍÁÓÓÉ×Á, É <strong>0</strong> ×
|
||
ÐÒÏÔÉ×ÎÏÍ ÓÌÕÞÁÅ. <em>SearchId</em> ÕËÁÚÙ×ÁÅÔ ÏÐÅÒÁÃÉÀ ÐÏÉÓËÁ,
|
||
ÉÎÆÏÒÍÁÃÉÑ Ï ËÏÔÏÒÏÊ ÚÁÐÒÁÛÉ×ÁÅÔÓÑ (×ÅÌÉÞÉÎÁ <em> searchId</em>
|
||
×ÏÚ×ÒÁÝÁÅÔÓÑ ÐÒÉ ×ÙÐÏÌÎÅÎÉÉ ËÏÍÁÎÄÙ <a
|
||
href="#startsearch"><strong>array</strong> <strong>startsearch</strong></a>). üÔÁ
|
||
ÏÐÃÉÑ ÏÓÏÂÅÎÎÏ ÕÄÏÂÎÁ, ÅÓÌÉ ÍÁÓÓÉ× ÓÏÄÅÒÖÉÔ ÜÌÅÍÅÎÔ Ó ÐÕÓÔÙÍ
|
||
ÉÍÅÎÅÍ, ÐÏÓËÏÌØËÕ ËÏÍÁÎÄÁ <a href="#nextelement"><strong>array</strong>
|
||
<strong>nextelement</strong></a> ÎÅ ÐÏÚ×ÏÌÑÅÔ × ÔÁËÏÍ ÓÌÕÞÁÅ ÏÐÒÅÄÅÌÉÔØ,
|
||
ÚÁËÏÎÞÅÎ ÌÉ ÐÏÉÓË.
|
||
</dd>
|
||
|
||
<dt><a name="donesearch"></a><strong>array</strong>
|
||
<strong>donesearch</strong> <em>arrayName</em> <em>searchId</em></dt>
|
||
|
||
<dd> ëÏÍÁÎÄÁ ÐÒÅÒÙ×ÁÅÔ ÐÏÉÓË ÜÌÅÍÅÎÔÏ× ÍÁÓÓÉ×Á É ÕÄÁÌÑÅÔ ×ÓÀ
|
||
Ó×ÑÚÁÎÎÕÀ Ó ÐÏÉÓËÏÍ ÉÎÆÏÒÍÁÃÉÀ. <em>SearchId</em> ÕËÁÚÙ×ÁÅÔ
|
||
ÏÐÅÒÁÃÉÀ ÐÏÉÓËÁ, ÉÎÆÏÒÍÁÃÉÑ Ï ËÏÔÏÒÏÊ ÕÄÁÌÑÅÔÓÑ (×ÅÌÉÞÉÎÁ
|
||
<em>searchId</em> ×ÏÚ×ÒÁÝÁÅÔÓÑ ÐÒÉ ×ÙÐÏÌÎÅÎÉÉ ËÏÍÁÎÄÙ <a
|
||
href="#startsearch"><strong>array</strong>
|
||
<strong>startsearch</strong></a>). ëÏÍÁÎÄÁ ×ÏÚ×ÒÁÝÁÅÔ ÐÕÓÔÕÀ ÓÔÒÏËÕ.
|
||
</dd>
|
||
|
||
<dt><a name="exists"></a><strong>array</strong> <strong>exists</strong>
|
||
<em>arrayName</em> </dt>
|
||
|
||
<dd> ÷ÏÚ×ÒÁÝÁÅÔ <strong>1</strong>, ÅÓÌÉ <em>arrayName</em> ÅÓÔØ ÉÍÑ
|
||
ÍÁÓÓÉ×Á, É <strong>0</strong>, ÅÓÌÉ ÔÁËÏÊ ÐÅÒÅÍÅÎÎÏÊ ÎÅ ÓÕÝÅÓÔ×ÕÅÔ
|
||
ÉÌÉ ÏÎÁ Ñ×ÌÑÅÔÓÑ ÓËÁÌÑÒÎÏÊ ÐÅÒÅÍÅÎÎÏÊ.
|
||
</dd>
|
||
|
||
<dt><a name="get"></a><strong>array</strong> <strong>get</strong>
|
||
<em>arrayName</em> ?<em>pattern</em>?</dt>
|
||
|
||
<dd> ÷ÏÚ×ÒÁÝÁÅÔ ÓÐÉÓÏË, ÓÏÄÅÒÖÁÝÉÊ ÐÁÒÙ ÜÌÅÍÅÎÔÏ×. ðÅÒ×ÙÊ
|
||
ÜÌÅÍÅÎÔ ÐÁÒÙ - ÉÍÑ ÜÌÅÍÅÎÔÁ ÍÁÓÓÉ×Á <em>arrayName</em>, ×ÔÏÒÏÊ
|
||
ÜÌÅÍÅÎÔ ÐÁÒÙ - ÚÎÁÞÅÎÉÅ ÜÔÏÇÏ ÜÌÅÍÅÎÔÁ. ðÏÒÑÄÏË ÐÁÒ ÎÅ
|
||
ÏÐÒÅÄÅÌÅÎ. åÓÌÉ ÛÁÂÌÏÎ ÎÅ ÚÁÄÁÎ, ÔÏ ×ÓÅ ÜÌÅÍÅÎÔÙ ÍÁÓÓÉ×Á ÂÕÄÕÔ
|
||
×ËÌÀÞÅÎÙ × ÒÅÚÕÌØÔÁÔ. åÓÌÉ ÛÁÂÌÏÎ ÚÁÄÁÎ, ÔÏ × ÒÅÚÕÌØÔÁÔ ÂÕÄÕÔ
|
||
×ËÌÀÞÅÎÙ ÔÏÌØËÏ ÔÅ ÜÌÅÍÅÎÔÙ, ÞØÉ ÉÍÅÎÁ ÓÏÏÔ×ÅÔÓÔ×ÕÀÔ ÛÁÂÌÏÎÕ
|
||
(ÉÓÐÏÌØÚÕÑ ÔÅ ÖÅ ÐÒÁ×ÉÌÁ, ÞÔÏ É × ËÏÍÁÎÄÅ <a
|
||
href="glob.html"><strong>glob</strong></a>). åÓÌÉ <em>arrayName</em>
|
||
ÎÅ Ñ×ÌÑÅÔÓÑ ÐÅÒÅÍÅÎÎÏÊ ÍÁÓÓÉ×Á ÉÌÉ ÍÁÓÓÉ× ÎÅ ÓÏÄÅÒÖÉÔ
|
||
ÜÌÅÍÅÎÔÏ×, ÔÏ ×ÏÚ×ÒÁÝÁÅÔÓÑ ÐÕÓÔÏÊ ÓÐÉÓÏË.
|
||
</dd>
|
||
|
||
<dt><a name="names"></a><strong>array</strong> <strong>names</strong>
|
||
<em>arrayName</em> ?<em>pattern</em>? </dt>
|
||
|
||
<dd> ÷ÏÚ×ÒÁÝÁÅÔ ÓÐÉÓÏË, ÓÏÄÅÒÖÁÝÉÊ ÉÍÅÎÁ ×ÓÅÈ ÜÌÅÍÅÎÔÏ× ÍÁÓÓÉ×Á,
|
||
ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÈ ÛÁÂÌÏÎÕ (ÉÓÐÏÌØÚÕÑ ÔÅ ÖÅ ÐÒÁ×ÉÌÁ, ÞÔÏ É ×
|
||
ËÏÍÁÎÄÅ <a href="glob.html"><strong>glob</strong></a>). åÓÌÉ ÛÁÂÌÏÎÁ
|
||
ÎÅÔ, ÔÏ ËÏÍÁÎÄÁ ×ÏÚ×ÒÁÝÁÅÔ ÉÍÅÎÁ ×ÓÅÈ ÜÌÅÍÅÎÔÏ× ÍÁÓÓÉ×Á. åÓÌÉ
|
||
× ÍÁÓÓÉ×Å ÎÅÔ ÜÌÅÍÅÎÔÏ×, ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÈ ÛÁÂÌÏÎÕ ÉÌÉ
|
||
<em>arrayName</em> ÎÅ Ñ×ÌÑÅÔÓÑ ÉÍÅÎÅÍ ÐÅÒÅÍÅÎÎÏÊ ÍÁÓÓÉ×Á, ÔÏ
|
||
×ÏÚ×ÒÁÝÁÅÔÓÑ ÐÕÓÔÁÑ ÓÔÒÏËÁ.
|
||
</dd>
|
||
|
||
<dt><a name="nextelement"></a><strong>array</strong>
|
||
<strong>nextelement</strong> <em>arrayName</em> <em>searchId</em></dt>
|
||
|
||
<dd> ÷ÏÚ×ÒÁÝÁÅÔ ÉÍÑ ÓÌÅÄÕÀÝÅÇÏ ÜÌÅÍÅÎÔÁ ÍÁÓÓÉ×Á
|
||
<em>arrayName</em>, ÉÌÉ ÐÕÓÔÕÀ ÓÔÒÏËÕ, ÅÓÌÉ ×ÓÅ ÜÌÅÍÅÎÔÙ ÍÁÓÓÉ×Á
|
||
ÕÖÅ ×ÏÚ×ÒÁÝÅÎÙ. <em>SearchId</em> ÕËÁÚÙ×ÁÅÔ ÏÐÅÒÁÃÉÀ ÐÏÉÓËÁ,
|
||
(×ÅÌÉÞÉÎÁ <em>searchId</em> ×ÏÚ×ÒÁÝÁÅÔÓÑ ÐÒÉ ×ÙÐÏÌÎÅÎÉÉ ËÏÍÁÎÄÙ
|
||
<a href="#startsearch"><strong>array</strong>
|
||
<strong>startsearch</strong></a>). ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÅÓÌÉ × ÍÁÓÓÉ× ×ÎÅÓÅÎ
|
||
ÎÏ×ÙÊ ÜÌÅÍÅÎÔ ÉÌÉ ÉÚ ÍÁÓÓÉ×Á ÕÄÁÌÅÎ ÏÄÉÎ ÉÚ ÜÌÅÍÅÎÔÏ×, ÔÏ ×ÓÅ
|
||
ÏÐÅÒÁÃÉÉ ÐÏÉÓËÁ × ÜÔÏÍ ÍÁÓÓÉ×Å Á×ÔÏÍÁÔÉÞÅÓËÉ ÚÁËÁÎÞÉ×ÁÀÔÓÑ,
|
||
ËÁË ÅÓÌÉ ÂÙ ÂÙÌÁ ×ÙÐÏÌÎÅÎÁ ËÏÍÁÎÄÁ <a
|
||
href="#donesearch"><strong>array</strong> <strong>donesearch</strong></a>.
|
||
óÏÏÔ×ÅÔÓÔ×ÅÎÎÏ, ÐÏÐÙÔËÁ ×ÙÐÏÌÎÉÔØ ÐÏÓÌÅ ÜÔÏÇÏ ËÏÍÁÎÄÕ array
|
||
nextelement ÐÒÉ×ÅÄÅÔ Ë ÏÛÉÂËÅ.
|
||
</dd>
|
||
|
||
<dt><a name="set"></a><strong>array</strong> <strong>set</strong>
|
||
<em>arrayName</em> <em>list</em> </dt>
|
||
|
||
<dd> õÓÔÁÎÁ×ÌÉ×ÁÅÔ ÚÎÁÞÅÎÉÅ ÏÄÎÏÇÏ ÉÌÉ ÎÅÓËÏÌØËÉÈ ÜÌÅÍÅÎÔÏ×
|
||
ÍÁÓÓÉ×Á <em>arrayName</em>. óÐÉÓÏË <em>list</em> ÄÏÌÖÅÎ ÉÍÅÔØ
|
||
ÔÁËÕÀ ÖÅ ÓÔÒÕËÔÕÒÕ, ËÁË ÓÐÉÓÏË, ×ÏÚ×ÒÁÝÁÅÍÙÊ ËÏÍÁÎÄÏÊ <a
|
||
href="#get"><strong>array</strong> <strong>get</strong></a>, ÔÏ ÅÓÔØ
|
||
ÓÏÓÔÏÑÔØ ÉÚ ÞÅÔÎÏÇÏ ÞÉÓÌÁ ÜÌÅÍÅÎÔÏ×. ÷ÓÅ ÎÅÞÅÔÎÙÅ ÜÌÅÍÅÎÔÙ
|
||
ÓÐÉÓËÁ ÒÁÓÓÍÁÔÒÉ×ÁÀÔÓÑ ËÁË ÉÍÅÎÁ ÜÌÅÍÅÎÔÏ× ÍÁÓÓÉ×Á
|
||
<em>arrayName</em>, Á ÓÌÅÄÕÀÝÉÅ ÚÁ ÎÉÍÉ ÞÅÔÎÙÅ ÜÌÅÍÅÎÔÙ - ËÁË ÎÏ×ÙÅ
|
||
ÚÎÁÞÅÎÉÑ ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÈ ÜÌÅÍÅÎÔÏ×.
|
||
</dd>
|
||
|
||
<dt><a name="size"></a><strong>array</strong> <strong>size</strong>
|
||
<em>arrayName</em> </dt>
|
||
|
||
<dd> ÷ÏÚ×ÒÁÝÁÅÔ ÓÔÒÏËÕ, ÓÏÄÅÒÖÁÝÕÀ ÄÅÓÑÔÉÞÎÏÅ ÞÉÓÌÏ, ÒÁ×ÎÏÅ
|
||
ËÏÌÉÞÅÓÔ×Õ ÜÌÅÍÅÎÔÏ× ÕËÁÚÁÎÎÏÇÏ ÍÁÓÓÉ×Á. åÓÌÉ
|
||
<em>arrayName</em> ÎÅ Ñ×ÌÑÅÔÓÑ ÉÍÅÎÅÍ ÍÁÓÓÉ×Á, ×ÏÚ×ÒÁÝÁÅÔÓÑ
|
||
<strong>0</strong>.
|
||
</dd>
|
||
|
||
<dt><a name="startsearch"></a><strong>array</strong>
|
||
<strong>startsearch</strong> <em>arrayName</em></dt>
|
||
|
||
<dd> üÔÁ ËÏÍÁÎÄÁ ÉÎÉÃÉÁÌÉÚÉÒÕÅÔ ÐÒÏÃÅÓÓ ÐÏÉÓËÁ ÜÌÅÍÅÎÔÏ×
|
||
ÕËÁÚÁÎÎÏÇÏ ÍÁÓÓÉ×Á. ðÏÓÌÅ ÜÔÏÇÏ ÉÍÑ ËÁÖÄÏÇÏ ÓÌÅÄÕÀÝÅÇÏ
|
||
ÜÌÅÍÅÎÔÁ ÍÁÓÓÉ×Á ÍÏÖÎÏ ÐÏÌÕÞÉÔØ Ó ÐÏÍÏÝØÀ ËÏÍÁÎÄÙ <a
|
||
href="#nextelement"><strong>array</strong> <strong>nextelement</strong></a>. ðÏ
|
||
ÚÁ×ÅÒÛÅÎÉÉ ÐÏÉÓËÁ ÎÅÏÂÈÏÄÉÍÏ ×ÙÐÏÌÎÉÔØ ËÏÍÁÎÄÕ <a
|
||
href="#donesearch"> <strong>array</strong>
|
||
<strong>donesearch</strong></a>. ëÏÍÁÎÄÁ <a href=
|
||
"#startsearch"><strong>array</strong> <strong>startsearch</strong></a> ×ÏÚ×ÒÁÝÁÅÔ
|
||
ÉÄÅÎÔÉÆÉËÁÔÏÒ ÐÒÏÃÅÓÓÁ ÐÏÉÓËÁ, ËÏÔÏÒÙÊ ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ×
|
||
ËÏÍÁÎÄÁÈ <a href="#nextelement"><strong>array</strong>
|
||
<strong>nextelement</strong></a> É <a href="#donesearch"><strong>array</strong>
|
||
<strong>donesearch</strong></a>. âÌÁÇÏÄÁÒÑ ÜÔÏÍÕ ÍÅÈÁÎÉÚÍÕ ×ÏÚÍÏÖÎÏ
|
||
ÐÒÏ×ÅÄÅÎÉÅ ÎÅÓËÏÌØËÉÈ ÐÒÏÃÅÓÓÏ× ÐÏÉÓËÁ ÜÌÅÍÅÎÔÏ× ÏÄÎÏÇÏ É ÔÏÇÏ
|
||
ÖÅ ÍÁÓÓÉ×Á ÏÄÎÏ×ÒÅÍÅÎÎÏ.
|
||
</dd>
|
||
</dl>
|
||
</body>
|
||
</html>
|