sub Write_Longint(ByVal fileHandle As HANDLE, ByVal value As Longint)
Записывает в файл 8 байтовое целое число
fileHandle - хендл файла
value - значение типа Longint
Windows , Linux
#Include "window9.bi"
Var handle=Create_File("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
Write_Longint(handle,565546565565776)
Close_File(handle)
EndIf
handle=Read_File("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
? Read_Longint(handle)
Close_File(handle)
EndIf
Sleep
565546565565776
Created with the Personal Edition of HelpNDoc: Produce electonic books easily