sub Write_String(ByVal fileHandle As HANDLE, ByVal value As string)
Записывает в файл строковое значение
fileHandle - хендл файла
value - значение типа String
Windows , Linux
#Include "window9.bi"
Var handle=Create_File("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
Write_String(handle,"FreeBasic")
Close_File(handle)
EndIf
handle=Read_File("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
? Read_String(handle)
Close_File(handle)
EndIf
Sleep
FreeBasic
Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator