Function E_O_F(ByVal fileHandle As HANDLE) As Long
Функция-сигнализатор конец файла. Если расшифровать буквы E O F, то будет End Of File или конец файла. Если возвратит 1 , то достигнут конец файла
fileHandle - хендл файла
Windows , Linux
#Include "window9.bi"
Var handle=Create_File("Пример.txt")
If handle Then
Write_String(handle,"FreeBasic")
EndIf
Close_file(handle)
handle=Read_file("Пример.txt")
If handle Then
While E_O_F(handle)=0
? Read_Character(handle)
wend
EndIf
Close_file(handle)
Sleep
F
r
e
e
B
a
s
i
c
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor