Jump to content

File input/output: Difference between revisions

m
m (→‎version 1: utilized better use of lower/uppercase names, added a comment.)
Line 1,044:
file = file_text_open_read("input.txt");
str = "";
while (true!file_text_eof(file))
{
str += file_text_read_string(file);
if (!file_text_eof(file))
{
break;str += "
"; //It is important to note that a linebreak is actually inserted here rather than a character code of some kind
}
else
{
str += chr(vk_enter);
file_text_readln(file);
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.