{"id":1483,"date":"2009-02-19T16:24:54","date_gmt":"2009-02-19T13:24:54","guid":{"rendered":"http:\/\/studentpmr.ru\/?p=1483"},"modified":"2009-02-19T16:24:54","modified_gmt":"2009-02-19T13:24:54","slug":"%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0-%d1%81-%d0%b2%d0%bd%d0%b5%d1%88%d0%bd%d0%b5%d0%b9-%d0%b1%d0%b0%d0%b7%d0%be%d0%b9-%d0%b4%d0%b0%d0%bd%d0%bd%d1%8b%d1%85","status":"publish","type":"post","link":"https:\/\/studentpmr.ru\/?p=1483","title":{"rendered":"\u0420\u0410\u0411\u041e\u0422\u0410 \u0421 \u0412\u041d\u0415\u0428\u041d\u0415\u0419 \u0411\u0410\u0417\u041e\u0419 \u0414\u0410\u041d\u041d\u042b\u0425"},"content":{"rendered":"<p>db_create(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430,\u041c\u0435\u0441\u0442\u043e)<br \/>\n(db_selector,string,place) &#8212; (i,i,i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430 \u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043d\u0438\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 (\u0411\u0414):<br \/>\n1) \u043d\u0430 \u0434\u0438\u0441\u043a\u0435, \u0435\u0441\u043b\u0438 \u041c\u0435\u0441\u0442\u043e=in_file;<br \/>\n2) \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0435\u0441\u043b\u0438 \u041c\u0435\u0441\u0442\u043e=in_memory;<br \/>\n3) \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u0435\u0441\u043b\u0438 \u041c\u0435\u0441\u0442\u043e=in_ems.<!--more--><br \/>\n\u0411\u0414 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u0438. \u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0411\u0414 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u0430 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0411\u0414 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u043c\u0435\u0441\u0442\u043e \u043d\u0430 \u043d\u0435\u043c.<\/p>\n<p>db_open(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430,\u041c\u0435\u0441\u0442\u043e)<br \/>\n(db_selector,string,place) &#8212; (i,i,i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0411\u0414 (\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414) \u0441 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0411\u0414, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 (\u041c\u0435\u0441\u0442\u043e=in_file),\u0432 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_memory) \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_ems). \u0411\u0414 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<p>db_openinvalid(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430,\u041c\u0435\u0441\u0442\u043e)<br \/>\n(db_selector,string,place) &#8212; (i,i,i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0411\u0414 (\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414) \u0441 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0411\u0414, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 (\u041c\u0435\u0441\u0442\u043e=in_file),\u0432 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_memory) \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_ems). \u0411\u0414 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f.<\/p>\n<p>db_close(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414)<br \/>\n(db_selector) &#8212; (i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.\u041e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u044d\u0442\u043e\u0439 \u0411\u0414 \u0444\u0430\u0439\u043b.<\/p>\n<p>db_delete(\u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430,\u041c\u0435\u0441\u0442\u043e)<br \/>\n(string,place) &#8212; (i,i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0444\u0430\u0439\u043b \u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0411\u0414 \u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 (\u041c\u0435\u0441\u0442\u043e=in_file),\u0432 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_memory) \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_ems).<\/p>\n<p>db_flush(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414)<br \/>\n(db_selector) &#8212; (i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0431\u0443\u0444\u0435\u0440\u044b DOS \u043f\u0443\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u043e\u0432 \u0432 \u0444\u0430\u0439\u043b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u0411\u0414, \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u044d\u0442\u043e\u0442 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u0411\u0414 (db_close) \u0441 \u0446\u0435\u043b\u044c\u044e \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0411\u0414.<\/p>\n<p>db_garbagecollect(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414)<br \/>\n(db_selector) &#8212; (i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0444\u0430\u0439\u043b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u0411\u0414,\u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414, \u043e\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 (\u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u0446\u0435\u043f\u0435\u0439, \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0436\u0438\u043c\u0430\u0435\u0442 \u0435\u0433\u043e.<\/p>\n<p>db_copy(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430,\u041c\u0435\u0441\u0442\u043e)<br \/>\n(db_selector,string,place) &#8212; (i,i,i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u0411\u0414, \u0438\u043c\u0435\u044e\u0449\u0443\u044e \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414, \u0438\u0437 \u0444\u0430\u0439\u043b\u0430, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441 \u044d\u0442\u043e\u0439 \u0411\u0414 \u0432 \u0444\u0430\u0439\u043b \u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 (\u041c\u0435\u0441\u0442\u043e=in_file),\u0432 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_memory) \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 (\u041c\u0435\u0441\u0442\u043e=in_ems).<br \/>\n%============================================================<br \/>\n% \u041f\u0440\u0438\u043c\u0435\u0440:<br \/>\ndomains<br \/>\ndb_selector = \u0431\u04341;\u0431\u04342           % \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u0432\u0430 \u043b\u043e\u0433\u0438\u0447\u0435\u0441-<br \/>\n% \u043a\u0438\u0445 \u0438\u043c\u0435\u043d\u0438 \u0411\u0414:\u0431\u04341 \u0438 \u0431\u04342<br \/>\ngoal<br \/>\ndb_create(\u0431\u04341,&#187;mydb1&#8243;,in_ems),  % \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439<br \/>\n% \u043f\u0430\u043c\u044f\u0442\u0438 \u0444\u0430\u0439\u043b MYDB1,<br \/>\n% \u0431\u04341 &lt;&#8212;&gt; MYDB1<\/p>\n<p>&#8230;&#8230;.             % \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0411\u0414 \u0431\u04341<\/p>\n<p>db_flush(\u0431\u04341),                  % \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0431\u0443\u0444\u0435\u0440\u043e\u0432 DOS<br \/>\n% =&gt; MYDB1<br \/>\ndb_garbagecollect(\u0431\u04341),         % \u043e\u0447\u0438\u0449\u0430\u0435\u043c MYDB1 \u043e\u0442&#187;\u043c\u0443\u0441\u043e\u0440\u0430&#187;<br \/>\ndb_copy(\u0431\u04341,&#187;a:\\\\my.dba&#187;,in_file),%\u0431\u04341(MYDB1)=&gt; A:\\MY.DBA<br \/>\ndb_close(\u0431\u04341),                  % \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0431\u04341<br \/>\ndb_delete(&#171;mydb1&#8243;,in_ems),      % \u0443\u0434\u0430\u043b\u044f\u0435\u043c MYDBA \u0438\u0437 \u0440\u0430\u0441\u0448\u0438-<br \/>\n% \u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438<br \/>\n&#8230;&#8230;.<\/p>\n<p>db_openinvalid(\u0431\u04341,&#187;a:\\\\my.dba&#187;,in_file),%\u0431\u04341&lt;&#8212;A:\\MY.DBA<br \/>\ndb_copy(\u0431\u04341,&#187;mydb2&#8243;,in_ems),    % \u0431\u04341(A:\\MY.DBA) =&gt; MYDB2<br \/>\ndb_open(\u0431\u04342,&#187;mydb2&#8243;,in_ems),    % \u0431\u04342 &lt;&#8212;&gt; MYDB2<br \/>\n&#8230;&#8230;.<br \/>\n%============================================================<\/p>\n<p>nondeterm db_chains(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c)<br \/>\n(db_selector,string) &#8212; (i,o)<\/p>\n<p>\u041d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0432\u0441\u0435\u0445 \u0446\u0435\u043f\u0435\u0439 \u0411\u0414, \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u043c\u044f \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<br \/>\n%============================================================<br \/>\n% \u041f\u0440\u0438\u043c\u0435\u04401 (\u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0432\u0441\u0435\u0445 \u0446\u0435\u043f\u0435\u0439 \u0411\u0414):<br \/>\ndomains<br \/>\ndb_selector = \u0431\u0434<br \/>\ngoal<br \/>\ndb_openinvalid(\u0431\u0434,&#187;my.dba&#187;,in_file),<br \/>\ndb_chains(\u0431\u0434,\u0426\u0435\u043f\u044c),<br \/>\nwrite(\u0426\u0435\u043f\u044c),nl,<br \/>\nfail<br \/>\n;<br \/>\ndb_close(\u0431\u0434).<\/p>\n<p>% \u041f\u0440\u0438\u043c\u0435\u04402 (\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u0411\u0414 \u0446\u0435\u043f\u044c \u0441 \u0438\u043c\u0435\u043d\u0435\u043c &#171;\u0426\u0435\u043f\u044c1&#8243;):<br \/>\ndomains<br \/>\ndb_selector = \u0431\u0434<br \/>\ngoal<br \/>\ndb_openinvalid(\u0431\u0434,&#187;my.dba&#187;,in_file),<br \/>\ndb_chains(\u0431\u0434,&#187;\u0426\u0435\u043f\u044c1&#8243;),<br \/>\nwrite(&#171;\u0435\u0441\u0442\u044c&#187;),<br \/>\ndb_close(\u0431\u0434)<br \/>\n;<br \/>\nwrite(&#171;\u043d\u0435\u0442&#187;),<br \/>\ndb_close(\u0431\u0434).<\/p>\n<p>% \u041f\u0440\u0438\u043c\u0435\u04403 (\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u043c\u0435\u043d \u0432\u0441\u0435\u0445 \u0446\u0435\u043f\u0435\u0439 \u0432 \u0411\u0414):<br \/>\ndomains<br \/>\ndb_selector = \u0431\u0434<br \/>\nstringlist = string*<br \/>\ngoal<br \/>\ndb_openinvalid(\u0431\u0434,&#187;my.dba&#187;,in_file),<br \/>\nfindall(\u0426\u0435\u043f\u044c,db_chains(\u0431\u0434,\u0426\u0435\u043f\u044c),\u0421\u043f\u0438\u0441\u043e\u043a),<br \/>\nwrite(&#171;\u0441\u043f\u0438\u0441\u043e\u043a \u0438\u043c\u0435\u043d \u0432\u0441\u0435\u0445 \u0446\u0435\u043f\u0435\u0439 = &#171;,\u0421\u043f\u0438\u0441\u043e\u043a),<br \/>\ndb_close(\u0431\u0434).<br \/>\n%============================================================<\/p>\n<p>db_statistics(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0427\u0438\u0441\u043b\u043e\u0417\u0430\u043f\u0438\u0441\u0435\u0439,\u0420\u0430\u0437\u043c\u0435\u0440\u041f\u0430\u043c\u044f\u0442\u0438,<br \/>\n\u0420\u0430\u0437\u043c\u0435\u0440\u0411\u0430\u0437\u044b\u0414\u0430\u043d\u043d\u044b\u0445,\u0421\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435\u041c\u0435\u0441\u0442\u043e)<br \/>\n(db_selector,real,real,real,real) &#8212; (i,o,o,o,o)<br \/>\n\u042d\u0442\u043e\u0442 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u0447\u0438\u0441\u043b\u0443 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u0411\u0414, \u0435\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c \u0432 \u0431\u0430\u0439\u0442\u0430\u0445, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u0437\u043d\u0430\u0442\u044c \u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414. \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0432\u044b\u0434\u0430\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>chain_inserta(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c,\u041e\u0431\u044a\u0435\u043a\u0442,\u0417\u0430\u043f\u0438\u0441\u044c,\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,string,symbol,&lt;Domain&gt;,ref)<br \/>\n&#8212; (i,i,i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0417\u0430\u043f\u0438\u0441\u044c, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0443\u044e\u0441\u044f \u043a \u0442\u0438\u043f\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u041e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0446\u0435\u043f\u0438 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0426\u0435\u043f\u044c. \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0421\u0441\u044b\u043b\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u0442\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>chain_insertz(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c,\u041e\u0431\u044a\u0435\u043a\u0442,\u0417\u0430\u043f\u0438\u0441\u044c,\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,string,symbol,&lt;Domain&gt;,ref)<br \/>\n&#8212; (i,i,i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0417\u0430\u043f\u0438\u0441\u044c, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0443\u044e\u0441\u044f \u043a \u0442\u0438\u043f\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u041e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043a\u043e\u043d\u0435\u0446 \u0446\u0435\u043f\u0438 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0426\u0435\u043f\u044c. \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0421\u0441\u044b\u043b\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u0442\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>chain_insertafter(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u041e\u0431\u044a\u0435\u043a\u0442,\u0421\u0441\u044b\u043b\u043a\u0430,\u0417\u0430\u043f\u0438\u0441\u044c,\u041d\u043e\u0432\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,symbol,ref,&lt;Domain&gt;,ref)<br \/>\n&#8212; (i,i,i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0417\u0430\u043f\u0438\u0441\u044c, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0443\u044e\u0441\u044f \u043a \u0442\u0438\u043f\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u041e\u0431\u044a\u0435\u043a\u0442 \u0432 \u0446\u0435\u043f\u044c \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438, \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u0443 \u0421\u0441\u044b\u043b\u043a\u0430. \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u041d\u043e\u0432\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0430\u044f \u0432\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u0442\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<br \/>\n%===============================================================<br \/>\n% \u041f\u0440\u0438\u043c\u0435\u0440<br \/>\ndomains<br \/>\ndb_selector = \u0431\u0434<br \/>\n\u043e\u0431\u044a\u0435\u043a\u0442 = \u043e(integer,integer)<br \/>\ngoal<br \/>\ndb_create(\u0431\u0434,&#187;my.dba&#187;,in_file),<br \/>\nchain_inserta(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c1&#8243;,integer,1,\u0421\u0441\u044b\u043b\u043a\u04301),<br \/>\n% \u0446\u0435\u043f\u044c1: 1<br \/>\nchain_inserta(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c1&#8243;,integer,2,\u0421\u0441\u044b\u043b\u043a\u04302),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  1<br \/>\nchain_insertz(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c1&#8243;,integer,3,_),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  1  3<br \/>\nchain_insertafter(\u0431\u0434,integer,\u0421\u0441\u044b\u043b\u043a\u04302,4,_),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  4  1  3<br \/>\nchain_insertz(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c2&#8243;,\u043e\u0431\u044a\u0435\u043a\u0442,\u043e(2,1),\u0421\u0441\u044b\u043b\u043a\u043021),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  4  1  3<br \/>\n% \u0446\u0435\u043f\u044c2: \u043e(2,1)<br \/>\nchain_insertz(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c2&#8243;,\u043e\u0431\u044a\u0435\u043a\u0442,\u043e(2,2),_),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  4  1  3<br \/>\n% \u0446\u0435\u043f\u044c2: \u043e(2,1)  \u043e(2,2)<br \/>\nchain_insertafter(\u0431\u0434,\u043e\u0431\u044a\u0435\u043a\u0442,\u0421\u0441\u044b\u043b\u043a\u04301,\u043e(1,5),_),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  4  1  \u043e(1,5)  3<br \/>\n% \u0446\u0435\u043f\u044c2: \u043e(2,1)  \u043e(2,2)<br \/>\nchain_insertafter(\u0431\u0434,integer,\u0421\u0441\u044b\u043b\u043a\u043021,5,_),<br \/>\n% \u0446\u0435\u043f\u044c1: 2  4  1  \u043e(1,5)  3<br \/>\n% \u0446\u0435\u043f\u044c2: \u043e(2,1)  5  \u043e(2,2)<br \/>\ndb_close(\u0431\u0434).<br \/>\n%============================================================<\/p>\n<p>chain_delete(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c)<br \/>\n(db_selector,string) &#8212; (i,i)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0438\u0437 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414 \u0446\u0435\u043f\u044c \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0426\u0435\u043f\u044c.<\/p>\n<p>nondeterm chain_terms(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c,\u041e\u0431\u044a\u0435\u043a\u0442,\u0417\u0430\u043f\u0438\u0441\u044c,\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,string,symbol,&lt;Domain&gt;,ref)<br \/>\n&#8212; (i,i,i,_,o)<\/p>\n<p>\u041d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 (\u0430 \u0442\u0430\u043a\u0436\u0435 \u0438\u0445 \u0441\u0441\u044b\u043b\u043a\u0438), \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0442\u0438\u043f\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u041e\u0431\u044a\u0435\u043a\u0442, \u0432 \u0446\u0435\u043f\u0438 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0426\u0435\u043f\u044c. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<br \/>\n%============================================================<br \/>\n% \u0446\u0435\u043f\u044c: \u0434_\u0440(\u0444\u0438\u043e(&#171;\u0418\u0432\u0430\u043d\u043e\u0432&#187;,&#187;\u0418\u0432\u0430\u043d&#187;,&#187;\u0418\u0432\u0430\u043d\u043e\u0432\u0438\u0447&#187;),12,10,1951)<br \/>\n\u0434_\u0440(\u0444\u0438\u043e(&#171;\u041f\u0435\u0442\u0440\u043e\u0432&#187;,&#187;\u041f\u0435\u0442\u0440&#187;,&#187;\u041f\u0435\u0442\u0440\u043e\u0432\u0438\u0447&#187;),2,10,1960)<br \/>\n\u0434_\u0440(\u0444\u0438\u043e(&#171;\u0421\u0438\u0434\u043e\u0440\u043e\u0432&#187;,&#187;\u0418\u0432\u0430\u043d&#187;,&#187;\u041f\u0435\u0442\u0440\u043e\u0432\u0438\u0447&#187;),1,1,1949)<\/p>\n<p>% \u041f\u0440\u0438\u043c\u0435\u0440 (\u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0444\u0430\u043c\u0438\u043b\u0438\u0438 \u043b\u044e\u0434\u0435\u0439, \u0440\u043e\u0434\u0438\u0432\u0448\u0438\u0445\u0441\u044f \u0432 \u043e\u043a\u0442\u044f\u0431\u0440\u0435 \u0434\u043e<br \/>\n%         1955 \u0433\u043e\u0434\u0430, \u0438 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u043e \u043d\u0438\u0445 \u0438\u0437 \u0446\u0435\u043f\u0438):<br \/>\ndomains<br \/>\ndb_selector =         \u0431\u0434<br \/>\n\u0434\u0435\u043d\u044c_\u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f =       \u0434_\u0440(\u0447\u0435\u043b\u043e\u0432\u0435\u043a,\u0434\u0435\u043d\u044c,\u043c\u0435\u0441\u044f\u0446,\u0433\u043e\u0434)<br \/>\n\u0447\u0435\u043b\u043e\u0432\u0435\u043a =             \u0444\u0438\u043e(\u0444\u0430\u043c\u0438\u043b\u0438\u044f,\u0438\u043c\u044f,\u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e)<br \/>\n\u0434\u0435\u043d\u044c,\u043c\u0435\u0441\u044f\u0446,\u0433\u043e\u0434 =      integer<br \/>\n\u0444\u0430\u043c\u0438\u043b\u0438\u044f,\u0438\u043c\u044f,\u043e\u0442\u0447\u0435\u0441\u0432\u043e = string<br \/>\ngoal<br \/>\ndb_open(\u0431\u0434,&#187;my.dba&#187;,in_file),<br \/>\nchain_terms(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c&#187;,\u0434\u0435\u043d\u044c_\u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f,<br \/>\n\u0434_\u0440(\u0444\u0438\u043e(\u0424\u0430\u043c\u0438\u043b\u0438\u044f,_,_),_,10,\u0413\u043e\u0434),   \u0421\u0441\u044b\u043b\u043a\u0430),<br \/>\n\u0413\u043e\u0434 &lt; 1955,<br \/>\nwrite(\u0424\u0430\u043c\u0438\u043b\u0438\u044f),nl,<br \/>\nterm_delete(\u0431\u0434,&#187;\u0446\u0435\u043f\u044c&#187;,\u0421\u0441\u044b\u043b\u043a\u0430),<br \/>\nfail;<br \/>\ndb_close(\u0431\u0434),<br \/>\nwrite(&#171;\u0440\u0430\u0431\u043e\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430.\\n&#187;).<br \/>\n%============================================================<br \/>\nchain_first(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c,\u041f\u0435\u0440\u0432\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,string,ref) &#8212; (i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0446\u0435\u043f\u0438 \u0426\u0435\u043f\u044c \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>chain_last(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c,\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,string,ref) &#8212; (i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0446\u0435\u043f\u0438 \u0426\u0435\u043f\u044c \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>chain_next(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0421\u0441\u044b\u043b\u043a\u0430,\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,ref,ref) &#8212; (i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443  (\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430) \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u0443\u044e \u0441\u043b\u0435\u0434\u043e\u043c \u0437\u0430 \u0437\u0430\u043f\u0438\u0441\u044c\u044e, \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u0443 \u0421\u0441\u044b\u043b\u043a\u0430. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>chain_prev(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0421\u0441\u044b\u043b\u043a\u0430,\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,ref,ref) &#8212; (i,i,o)<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443  (\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f\u0421\u0441\u044b\u043b\u043a\u0430) \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0438\u0441\u044c\u044e, \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u0443 \u0421\u0441\u044b\u043b\u043a\u0430. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414.<\/p>\n<p>term_delete(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0426\u0435\u043f\u044c,\u0421\u0441\u044b\u043b\u043a\u0430)<br \/>\n(db_selector,string,ref) &#8212; (i,i,i)<\/p>\n<p>\u0412 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0438\u0437 \u0446\u0435\u043f\u0438 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0426\u0435\u043f\u044c \u0437\u0430\u043f\u0438\u0441\u044c, \u0438\u043c\u0435\u044e\u0449\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0421\u0441\u044b\u043b\u043a\u0430.<br \/>\nterm_replace(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u041e\u0431\u044a\u0435\u043a\u0442,\u0421\u0441\u044b\u043b\u043a\u0430,\u041d\u043e\u0432\u0430\u044f\u0417\u0430\u043f\u0438\u0441\u044c)<br \/>\n(db_selector,symbol,ref,&lt;Domain&gt;) &#8212; (i,i,i,i)<\/p>\n<p>\u0412 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044c, \u0438\u043c\u0435\u044e\u0449\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u041d\u043e\u0432\u0430\u044f\u0417\u0430\u043f\u0438\u0441\u044c \u0442\u0438\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u041e\u0431\u044a\u0435\u043a\u0442.<\/p>\n<p>ref_term(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u041e\u0431\u044a\u0435\u043a\u0442,\u0421\u0441\u044b\u043b\u043a\u0430,\u0417\u0430\u043f\u0438\u0441\u044c)<br \/>\n(db_selector,symbol,ref,&lt;Domain&gt;) &#8212; (i,i,i,_)<\/p>\n<p>\u0412 \u0411\u0414 \u0441 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0417\u0430\u043f\u0438\u0441\u044c \u0442\u0438\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u041e\u0431\u044a\u0435\u043a\u0442, \u0438\u043c\u0435\u044e\u0449\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0421\u0441\u044b\u043b\u043a\u0430.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>db_create(\u0421\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0411\u0414,\u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430,\u041c\u0435\u0441\u0442\u043e) (db_selector,string,place) &#8212; (i,i,i) \u041f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u0418\u043c\u044f\u0424\u0430\u0439\u043b\u0430 \u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043d\u0438\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 (\u0411\u0414): 1) \u043d\u0430 \u0434\u0438\u0441\u043a\u0435, \u0435\u0441\u043b\u0438 \u041c\u0435\u0441\u0442\u043e=in_file; 2) \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0435\u0441\u043b\u0438 \u041c\u0435\u0441\u0442\u043e=in_memory; 3) \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u0435\u0441\u043b\u0438 \u041c\u0435\u0441\u0442\u043e=in_ems.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"_links":{"self":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/1483"}],"collection":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1483"}],"version-history":[{"count":1,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/1483\/revisions"}],"predecessor-version":[{"id":1484,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/1483\/revisions\/1484"}],"wp:attachment":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}