Changes
Special:MobileDiff/877
Jump to navigation
Jump to search
← Older edit
Newer edit →
Triggers
(view source)
Revision as of 02:43, 12 September 2016
403 bytes added
,
02:43, 12 September 2016
no edit summary
Line 190:
Line 190:
var a = file.readLines();
var a = file.readLines();
</source>
</source>
+
<ol>
+
<li>Открываем файл</li>
+
<li>Записываем в файл строку</li>
+
</ol>
+
<ol start="5">
+
<li>Закрываем файл, только после этого файл сохраняется на диске.</li>
+
<li>Считываем из файла все строки, в результате получаем массив строк в переменной a.</li>
+
</ol>
Admin
Write,
Bureaucrats
,
Administrators
176
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version