{"id":25920,"date":"2016-01-03T16:32:40","date_gmt":"2016-01-03T13:32:40","guid":{"rendered":"http:\/\/studentpmr.ru\/?p=25920"},"modified":"2016-01-03T17:36:40","modified_gmt":"2016-01-03T14:36:40","slug":"laboratornaja-rabota-4-rabota-s-fajlami-i","status":"publish","type":"post","link":"https:\/\/studentpmr.ru\/?p=25920","title":{"rendered":"\u041b\u0410\u0411\u041e\u0420\u0410\u0422\u041e\u0420\u041d\u0410\u042f \u0420\u0410\u0411\u041e\u0422\u0410 \u2116 4. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u043c\u0438. \u0417\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b."},"content":{"rendered":"<h3>\u0422\u0415\u041c\u0410: \u00ab\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u043c\u0438. \u0417\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b\u00bb<\/h3>\n<p>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u043e\u0442\u0447\u0435\u0442\u0430 \u043f\u043e \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435:<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">1. \u0422\u0435\u043c\u0430 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">2. \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438.<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">3. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0432 \u0445\u043e\u0434\u0435 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\"><!--more--><\/p>\n<p style=\"text-align: center;\" align=\"center\"><b>\u041f\u0435\u0440\u0432\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430: \u00ab\u0424\u0430\u0439\u043b\u00bb <\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify; text-indent: 35.4pt;\">\u0414\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0444\u0430\u0439\u043b \u0441 \u0438\u043c\u0435\u043d\u0435\u043c Data.dat \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044f\u0445.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/b><\/p>\n<ul>\n<li>\u0420\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u043d\u0430 \u0444\u043e\u0440\u043c\u0435 \u0442\u0430\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b:<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-indent: 3.0pt;\">\u041d\u0430\u043a\u043b\u0435\u0439\u043a\u0430 (Label1) &#8212; \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c Caption &#8212; <b>\u0418\u043c\u044f<\/b><br \/>\n\u041d\u0430\u043a\u043b\u0435\u0439\u043a\u0430 (Label2) &#8212; \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c Caption &#8212; <b>\u0424\u0430\u043c\u0438\u043b\u0438\u044f<\/b><br \/>\n\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e (Text1) &#8212; \u0432 \u043e\u043a\u043d\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Text \u0443\u0434\u0430\u043b\u0438\u0442\u0435 \u0432\u0441\u0451<br \/>\n\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e (Text2) &#8212; \u0432 \u043e\u043a\u043d\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Text \u0443\u0434\u0430\u043b\u0438\u0442\u0435 \u0432\u0441\u0451<br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (Button1) &#8212; \u0441 Caption &#8212; <b>\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c<\/b><br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (Button2) &#8212; \u0441 Caption &#8212; <b>\u0412\u044b\u0439\u0442\u0438<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443 \u0432\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0442\u0430\u043a:<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: center;\" align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2016\/1\/image011.jpg\" alt=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0424\u0430\u0439\u043b\" width=\"268\" height=\"187\" \/><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434\u0435<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify;\">Vb \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439:<\/p>\n<p class=\"Web\" style=\"text-align: justify; text-indent: -18.0pt; margin: 0cm 0cm .0001pt 18.0pt;\">\u00fb \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b \u043f\u043e \u0441\u0440\u043e\u043a\u0430\u043c (\u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u0432\u0441\u0435\u0433\u043e \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e) &#8212; \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 <b>Output<\/b>,<\/p>\n<p class=\"Web\" style=\"text-align: justify; text-indent: -18.0pt; margin: 0cm 0cm .0001pt 18.0pt;\">\u00fb \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c &#8212; \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 <b>Input<\/b>,<\/p>\n<p class=\"Web\" style=\"text-align: justify; text-indent: -18.0pt; margin: 0cm 0cm .0001pt 18.0pt;\">\u00fb \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c (\u0431\u0435\u0437 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e)-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 <b>Append.<\/b>.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify; text-indent: 35.4pt;\">\u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0438\u0437 VB, \u0442\u043e Data.dat \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 VB, \u0435\u0441\u043b\u0438 \u0436\u0435 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0443\u0436\u0435 \u043e\u0442\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u0442\u043e \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c exe, \u0442\u043e \u0444\u0430\u0439\u043b Data.dat \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0442\u043e\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u044d\u0442\u043e\u0442 exe&#8217;\u0448\u043d\u044b\u0439 \u0444\u0430\u0439\u043b. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 Data.dat \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u0441 \u044d\u0442\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c.<\/p>\n<ul>\n<li>\u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Option Explicit <\/b>&#8216;\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/p>\n<p><b>Dim fn As String<\/b> &#8216;\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e fn &#8212; \u0418\u043c\u044f<br \/>\n<b>Dim ln As String<\/b> &#8216;\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e ln &#8212; \u0424\u0430\u043c\u0438\u043b\u0438\u044f<\/p>\n<ul>\n<li>\u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 <b>\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c<\/b><b> <\/b>\u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0442\u0430\u043c<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>fn = Text1.Text<\/b> &#8216;\u041f\u0440\u0438\u0434\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 fn \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 Text \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 Text1<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>ln = Text2.Text<\/b> &#8216;\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f ln \u0440\u0430\u0432\u043d\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e Text \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 Text2<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Open &#171;data.dat&#187; For Append As #1 <\/b><b>&#8216;<\/b>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b data.dat , \u043f\u043e\u0434 \u043d\u043e\u043c\u0435\u0440\u043e\u043c 1, \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u043d\u0435\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Print #1, fn ;&#187; &#171;; ln <\/b>&#8216;\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0444\u0430\u0439\u043b \u043d\u043e\u043c\u0435\u0440 1 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e fn,\u043f\u0440\u043e\u0431\u0435\u043b \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e ln<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Close #1 <\/b>&#8216; \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u043e\u043c\u0435\u0440 1<\/p>\n<ul>\n<li>\u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u043a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 <b>\u0412\u044b\u0445\u043e\u0434<\/b> \u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0442\u0430\u043c<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>End<\/b> &#8216;\u0412\u044b\u0445\u043e\u0434<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443 \u0432\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">Option Explicit<\/p>\n<p><i>Dim fn As String<br \/>\nDim ln As String<\/i><\/p>\n<p>Private Sub Command1_Click()<br \/>\nfn = Text1.Text<br \/>\nln = Text2.Text<br \/>\nOpen &#171;data.dat&#187; For Append As #1<br \/>\nPrint #1, fn;&#187; &#171;;ln<br \/>\nClose #1<br \/>\nEnd Sub<\/p>\n<p>Private Sub Command2_Click()<br \/>\nEnd<br \/>\nEnd Sub<\/p>\n<ul>\n<li>\u041f\u0435\u0440\u0435\u0434 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043e\u0442\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0439\u0442\u0435 \u0435\u0435.<\/li>\n<\/ul>\n<p class=\"Web\" style=\"text-align: justify; text-indent: -18.0pt; margin: 0cm 0cm .0001pt 53.4pt;\">\u00b7 \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 exe&#8217;\u0448\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u0432\u0432\u0435\u0434\u044f \u0441\u0432\u043e\u0435 \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c.<\/p>\n<ul>\n<li>\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0435\u0449\u0451 \u0447\u044c\u0438-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e \u0438 \u043e\u043f\u044f\u0442\u044c \u0437\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0438\u0445.<\/li>\n<li>\u0412\u044b\u0439\u0434\u0438\u0442\u0435 \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0437\u0430\u0439\u0434\u0438\u0442\u0435 \u0432 \u0442\u043e\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u043e\u0442\u043a\u0443\u0434\u0430 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0438 \u0435\u0435.<\/li>\n<li>\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0442\u0430\u043c \u0444\u0430\u0439\u043b Data.dat \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0435\u0433\u043e \u043b\u044e\u0431\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c, \u0432 \u043d\u0435\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0432\u043f\u0438\u0441\u0430\u043b\u0438.<\/li>\n<\/ul>\n<p class=\"Web\" style=\"text-align: center; margin: 0cm 0cm .0001pt 35.4pt;\" align=\"center\"><b>\u0412\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u00ab\u0421\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430\u00bb<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-indent: 35.4pt;\">\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 autoexec.bat, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 C: \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0438\u0445 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/b><\/p>\n<ul>\n<li>\u041d\u0430 \u0444\u043e\u0440\u043c\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b:<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e (TextBox): <b>Name-Text1, Multiline-True<\/b><br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (Button) : <b>Name-Button1, Caption-&#171;\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c&#187;<\/b><br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (Button) : <b>Name-Button2, Caption-&#171;\u0412\u044b\u0445\u043e\u0434&#187;<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: center;\" align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2016\/1\/image012.jpg\" alt=\"\u0421\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430\" width=\"320\" height=\"240\" \/><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434\u0435<\/b><\/p>\n<ul>\n<li>\u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0442\u0430\u043c:<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Option Explicit<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify;\"><b>Dim st as String<\/b> &#8212; \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e st, \u0434\u043b\u044f \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify;\"><b>Dim AllText as String<\/b> &#8212; \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e AllText, \u044d\u0442\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043d\u0443\u0436\u043d\u0430 \u043d\u0430\u043c \u0434\u043b\u044f \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0435\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<ul>\n<li>\u0417\u0430\u0439\u0434\u0438\u0442\u0435 \u0432 \u043a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 <b>\u0421\u0447\u0438\u0442\u0430\u0442\u044c<\/b>. \u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0442\u0430\u043c:<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-indent: 3.0pt;\"><b>Open &#171;C:autoexec.bat&#187; for Input as #1<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-indent: 3.0pt;\">&#8212; \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b autoexec.bat, \u043f\u043e\u0434 \u043d\u043e\u043c\u0435\u0440\u043e\u043c 1, \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0438\u0437 \u043d\u0435\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Do While Not EOF (1)<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">&#8212; \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0441\u043c\u044b\u0441\u043b\u0430 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u0434\u043e\u0441\u043b\u043e\u0432\u043d\u043e: \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u043d\u0435\u0442 \u043a\u043e\u043d\u0446\u0430 \u0444\u0430\u0439\u043b (Eon of File) \u043d\u043e\u043c\u0435\u0440 1<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Input #1, st<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">&#8212; \u0421\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043d\u043e\u043c\u0435\u0440 \u043e\u0434\u0438\u043d \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 (\u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0446\u0438\u043a\u043b\u0430 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0432\u0430\u044f, \u043f\u043e\u0442\u043e\u043c \u0432\u0442\u043e\u0440\u0430\u044f \u0438 \u0442\u0430\u043a \u043f\u043e\u043a\u0430 \u043d\u0435 \u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u043b)<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify;\"><b>AllText = AllText + st<\/b><b> + chr(13)+chr(10) <\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: justify;\"><b>\/\/<\/b> \u0432\u0435\u0441\u044c \u0442\u0435\u043a\u0441\u0442 \u0440\u0430\u0432\u0435\u043d \u0432\u0435\u0441\u044c \u0442\u0435\u043a\u0441\u0442 \u043f\u043b\u044e\u0441 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 (\u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0446\u0438\u043a\u043b\u0430 \u0432\u0435\u0441\u044c \u0442\u0435\u043a\u0441\u0442 &#8212; \u043f\u0443\u0441\u0442\u043e\u0439, \u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u044d\u0442\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e, \u0434\u0430\u043b\u044c\u0448\u0435 \u0432\u0435\u0441\u044c \u0442\u0435\u043a\u0441\u0442 &#8212; \u044d\u0442\u043e \u043f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430, \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0432\u0430\u044f \u0438 \u0432\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0438 \u0442.\u0434. \u043f\u043e\u043a\u0430 \u043d\u0435 \u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u043b) \u0438 \u043f\u043b\u044e\u0441 \u043a\u043b\u0430\u0432\u0438\u0448\u0430 Enter (\u042d\u0442\u043e Chr(10) +chr(13)). \u041a\u043b\u0430\u0432\u0438\u0448\u0430 Enter \u0442\u0443\u0442 \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0435\u0441\u043b\u0438 \u0435\u0435 \u043d\u0435 \u043d\u0430\u0436\u0430\u0442\u044c, \u0442\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f AllText \u0431\u0443\u0434\u0435\u0442 \u0441\u043f\u043b\u043e\u0448\u043d\u044b\u043c \u0441\u043b\u0438\u044f\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u043e\u043a, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b \u0432 \u043e\u0434\u043d\u0443 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443. \u041a \u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d \u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f AllText \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u0430 \u0432\u0441\u0435\u043c\u0443 \u0442\u0435\u043a\u0441\u0442\u0443 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Loop<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">&#8212; \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u0446\u0438\u043a\u043b, \u0442\u043e \u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u0435\u0449\u0435 \u043d\u0435\u0442 \u043a\u043e\u043d\u0446\u0430 \u0444\u0430\u0439\u043b\u0430, \u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0434\u0435\u0442 \u043a \u043d\u0430\u0447\u0430\u043b\u0443 \u0446\u0438\u043a\u043b\u0430, \u0430 \u0435\u0441\u043b\u0438 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442, \u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0438\u0434\u0435\u0442 \u043d\u0430 \u0441\u0432\u043e\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Close #1<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">&#8212; \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u043e\u043c\u0435\u0440 1<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Text1.Text = AllText<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">&#8212; \u041f\u0440\u0438\u0434\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0443 Text \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 Text1 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 AllText.<\/p>\n<ul>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443.<\/li>\n<li>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u0430\u0439\u043b data.dat.<\/li>\n<\/ul>\n<p style=\"text-align: center;\" align=\"center\"><b>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u00ab\u0421\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440\u00bb <\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 Hello World \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u0438 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u043f\u0440\u043e\u0441\u0438\u0442 \u0435\u0433\u043e \u043e\u0431 \u044d\u0442\u043e\u043c, \u0430 \u0435\u0441\u043b\u0438 \u0434\u0430, \u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0435\u0433\u043e \u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 Hello World. \u0412 \u0444\u0430\u0439\u043b\u0435 r.txt \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043e &#8212; \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0443 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0431\u044b\u043b \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043e\u043d \u0431\u044b\u043b \u0440\u0430\u0437\u043d\u044b\u043c, \u043d\u043e \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 &#8212; \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c. \u041e\u043f\u044f\u0442\u044c \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 &#8212; \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0444\u0430\u0439\u043b. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u044b\u0439 \u043d\u043e\u043c\u0435\u0440, \u0430 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u043d\u0435\u0442 &#8212; \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">&#8212; <b>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/b><\/p>\n<ul>\n<li>\u0423 \u0432\u0430\u0441 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c 2 \u0444\u043e\u0440\u043c\u044b: \u043e\u0434\u043d\u0430 &#8212; \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 Hello World, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f &#8212; \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f.<\/li>\n<li>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 Hello World , \u0438\u043c\u044f \u0444\u043e\u0440\u043c\u044b &#8212; <b>prog<\/b><\/li>\n<li>\u0414\u0430\u043b\u0435\u0435 \u0434\u0435\u043b\u0430\u0435\u043c \u0444\u043e\u0440\u043c\u0443 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <b>frmSn<\/b>. \u041d\u0430 \u043d\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b:<\/li>\n<\/ul>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u042d\u0442\u0438\u043a\u0435\u0442\u043a\u0430 (Label) : Caption &#8212; <b>\u0421\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440<\/b><br \/>\n\u042d\u0442\u0438\u043a\u0435\u0442\u043a\u0430 (Label) : Caption &#8212; <b>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434<\/b><br \/>\n\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 (TextBox): \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e Text \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c, \u0438\u043c\u044f &#8212; <b>txtSn<\/b><br \/>\n\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 (TextBox): \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e Text \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c, \u0438\u043c\u044f &#8212; <b>txtRc<\/b><br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (CommandButton): \u0418\u043c\u044f &#8212; Command1, Caption &#8212; <b>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/b><br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (CommandButton): \u0418\u043c\u044f &#8212; Command2, Caption &#8212; <b>\u041e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438<\/b><br \/>\n\u041a\u043d\u043e\u043f\u043a\u0430 (CommandButton): \u0418\u043c\u044f &#8212; Command2, Caption &#8212; <b>\u0412\u044b\u0445\u043e\u0434<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443 \u0432\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt; text-align: center;\" align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2016\/1\/image013.jpg\" alt=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u00ab\u0421\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440\u00bb\" width=\"295\" height=\"132\" \/><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>&#8212; \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434\u0435<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c:<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Option Explicit <\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Dim sn as Long<\/b> &#8212; sn &#8212; \u044d\u0442\u043e \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Dim rc as Long<\/b> &#8212; rc &#8212; \u044d\u0442\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Dim result as Long<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Dim result2 as Single<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Dim reg As String<\/b> &#8212; \u042d\u0442\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f &#8212; \u0435\u0441\u043b\u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u0442\u043e \u043e\u043d\u0430 \u0440\u0430\u0432\u043d\u0430 1, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u0442\u043e 0<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u041f\u0440\u0438 \u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c &#8212; \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043b\u0438 \u043e\u043d\u0430. \u041f\u0438\u0448\u0435\u043c \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>Form_Load( )<\/b><\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>If Dir(&#171;<\/b><b>d<\/b><b>: .txt&#187;) = &#171;&#187;<\/b><b> Then<\/b> &#8212; \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c &#8212; \u0435\u0441\u0442\u044c \u043b\u0438 \u0444\u0430\u0439\u043b r.txt \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 D \u0438 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0442\u043e\u0433\u0434\u0430&#8230;<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>reg = 0 <\/b> &#8212; \u041f\u0440\u0438\u0434\u0430\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 &#8212; 0 (\u043d\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e)<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Open &#171;<\/b><b>d<\/b><b>: .txt&#187; For Output As #2<\/b> -\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Print #2, reg<\/b> -\u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 \u043d\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e reg<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Close #2<\/b> -\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Else<\/b><b> <\/b>-\u0415\u0441\u043b\u0438 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 D \u0435\u0441\u0442\u044c \u0444\u0430\u0439\u043b r.txt<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Open &#171;<\/b><b>d<\/b><b>: .txt&#187; For Input As #2<\/b><b> <\/b>-\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u0437 \u043d\u0435\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Input #2, reg<\/b> -\u0412\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0438\u0437 \u043d\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e reg<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>Close #2<\/b> -\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>If reg = &#171;1&#187; Then<\/b><b> <\/b> -\u0415\u0441\u043b\u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0442\u043e<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>prog.Show<\/b> -\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u043e\u0440\u043c\u0443 prog<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>frmsn.Hide<\/b> &#8212; \u0421\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u044d\u0442\u0443 \u0444\u043e\u0440\u043c\u0443<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>End If<\/b> &#8212; \u0417\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\"><b>End If <\/b><b>&#8212;<\/b> \u0417\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0444\u0430\u0439\u043b\u0430<\/p>\n<h1>\u0421\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e:<\/h1>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">\u0414\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440.<\/p>\n<p>\u0414\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u041e \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0442\u0440\u0435\u0442\u044c\u044e \u0444\u043e\u0440\u043c\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0414\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u0412\u044b\u0445\u043e\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e End.<\/p>\n<p>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438:<\/p>\n<p><b>FileDateTime (\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430) <\/b>&#8212; \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043b\u0438\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p><b>\u041f\u0440\u0438\u043c\u0435\u04401<\/b>: \u0412 \u0444\u043e\u0440\u043c\u0443 \u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 (FileListBox) \u0441 \u0438\u043c\u0435\u043d\u0435\u043c File1.<\/p>\n<p>\u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0439 \u0444\u0430\u0439\u043b.<\/p>\n<p>Sub File1_Click ()<\/p>\n<p>Dim Msg, TimeStamp.<\/p>\n<p>FName = File1.FileName &#8216; \u041f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043c\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n<p>TimeStamp = FileDateTime(FName)<\/p>\n<p>Msg = UCase(FName) &amp; &#171;\u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d &#187;<\/p>\n<p>Msg = Msg &amp; Format(TimeStamp, &#171;dddddd&#187;) &amp; &#187; \u0432 &#187;<\/p>\n<p>Msg = Msg &amp; Format(TimeStamp, &#171;h:mm AM\/PM&#187;) &amp; &#171;. \u0415\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440 &#187;<\/p>\n<p>Msg = Msg &amp; FileLen(FName) &amp; &#187; \u0431\u0430\u0439\u0442&#187; &#8216; \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>MsgBox Msg &#8216; \u0412\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<\/p>\n<p>End Sub<\/p>\n<p><b>Kill (\u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430)<\/b> \u2013 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0444\u0430\u0439\u043b \u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433.<\/p>\n<p><b>Name \u0441\u0442\u0430\u0440\u043e\u0435 \u0438\u043c\u044f As \u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f<\/b> &#8212; \u0418\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0438\u043b\u0438 \u043f\u0430\u043f\u043a\u0438.<\/p>\n<p><b>MkDir \u043f\u0443\u0442\u044c<\/b> \u2013 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0430\u043f\u043a\u0443.<\/p>\n<p><b>RmDir \u043f\u0443\u0442\u044c<\/b> \u2013 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u043f\u0430\u043f\u043a\u0443.<\/p>\n<p><b>\u041f\u0440\u0438\u043c\u0435\u04402<\/b>: \u0424\u0430\u0439\u043b \u0438\u0437 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. \u041f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043d\u0430 \u0444\u043e\u0440\u043c\u0435.<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">Sub Form_Click ()<\/p>\n<p>Dim FName1, FName2, Msg, NL, TestDir<\/p>\n<p>NL = Chr(10) .<\/p>\n<p>FName1 = &#171;NX.DAT&#187; .<\/p>\n<p>FName2 = &#171;NY.DAT&#187;<\/p>\n<p>TestDir = &#171;d:TEST.DIR&#187;<\/p>\n<p>Open FName1 For Output As #1 \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b<\/p>\n<p>Print #1, &#171;test data&#187; &#8216; \u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0444\u0430\u0439\u043b.<\/p>\n<p>Close #1<\/p>\n<p>MkDir TestDir &#8216; \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c TEST<\/p>\n<p>Name FName1 As TestDir &amp; &#171;&#187; &amp; FName2 &#8216; \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c.<\/p>\n<p>Msg = &#171;\u041d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b, &#187; &amp; FName1 &amp; &#187; \u0441\u043e\u0437\u0434\u0430\u043d &#187;<\/p>\n<p>Msg = Msg &amp; &#171;\u0432 &#187; &amp; CurDir$ &amp; &#171;. \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0431\u044b\u043b &#187;<\/p>\n<p>Msg = Msg &amp; &#171;\u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d &#187; &amp; TestDir &amp; &#187; \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d &#187;<\/p>\n<p>Msg = Msg &amp; FName2 &amp; &#171;.&#187; &amp; NL &amp; NL<\/p>\n<p>Msg = Msg &amp; &#171;\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 OK \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0438 &#187;<\/p>\n<p class=\"Web\" style=\"margin: 0cm; margin-bottom: .0001pt;\">Msg = Msg &amp; &#171;\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430.&#187;<\/p>\n<p>MsgBox Msg<\/p>\n<p>Kill TestDir &amp; &#171;&#187; &amp; FName2 &#8216; \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0441 \u0434\u0438\u0441\u043a\u0430.<\/p>\n<p>RmDir TestDir &#8216; \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0441 \u0434\u0438\u0441\u043a\u0430 .<\/p>\n<p>End Sub<\/p>\n<p><b>\u0417\u0430\u0434\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b:<\/b><\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">1. \u0423\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u04401, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0432\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0438 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0431\u044b \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e.<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">2. \u0423\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u04402, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0432\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b.<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">3. \u0423\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u04402, \u0447\u0442\u043e\u0431\u044b \u0432 \u0444\u043e\u0440\u043c\u0435 \u0431\u044b\u043b\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u0412\u044b\u0445\u043e\u0434 \u0438 \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435. \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0443\u0434\u0430\u043b\u044f\u043b\u0438\u0441\u044c \u0431\u044b \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435.<\/p>\n<h1>\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b:<\/h1>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">1. \u0422\u0438\u043f\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0444\u0430\u0439\u043b\u0430\u043c?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">2. \u041a\u0430\u043a \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u0430\u0439\u043b?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">3. \u041a\u0430\u043a \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0437 \u0444\u0430\u0439\u043b\u0430?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">4. \u041a\u0430\u043a \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">5. \u041f\u0443\u0442\u044c, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0437\u0430\u043f\u0438\u0448\u0435\u0442 \u0444\u0430\u0439\u043b VB?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">6. \u0424\u0443\u043d\u043a\u0446\u0438\u0438 Input#, Print#, Write#?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">7. \u0417\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u0444\u0430\u0439\u043b\u0430?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">8. \u041a\u0430\u043a \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">9. \u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">10. \u041a\u0430\u043a \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">11. \u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e \u0434\u0430\u0442\u0435 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430?<\/p>\n<p style=\"margin-left: 18.0pt; text-indent: -18.0pt;\">12. \u041a\u0430\u043a \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0415\u041c\u0410: \u00ab\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u043c\u0438. \u0417\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b\u00bb \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u043e\u0442\u0447\u0435\u0442\u0430 \u043f\u043e \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435: 1. \u0422\u0435\u043c\u0430 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b. 2. \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438. 3. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0432 \u0445\u043e\u0434\u0435 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[],"_links":{"self":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/25920"}],"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=25920"}],"version-history":[{"count":2,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/25920\/revisions"}],"predecessor-version":[{"id":25922,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/25920\/revisions\/25922"}],"wp:attachment":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}