sub Write_Byte(ByVal fileHandle As HANDLE, ByVal value As Byte)
Записывает 1 байт в файл
fileHandle - хендл файла
value - значение типа Byte
Windows , Linux
#Include "window9.bi"
Var handle=Create_File("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
Write_Byte(handle,56)
Write_Byte(handle,47)
Close_file(handle)
EndIf
handle=Read_file("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
? Read_Byte(handle)
Close_file(handle)
EndIf
Sleep
56
Created with the Personal Edition of HelpNDoc: Easily create Web Help sites