Function Read_Single(ByVal fileHandle As HANDLE) As Single
Читает 4 байтовое дробное число из файла
fileHandle - хендл файла
Windows , Linux
#Include "window9.bi"
Var handle=Create_File("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
Write_Single(handle,565.546)
Close_file(handle)
EndIf
handle=Read_file("Пример.txt")
If handle <> Cast(Any Ptr, -1) Then
? Read_Single(handle)
Close_file(handle)
EndIf
Sleep
565.546
Created with the Personal Edition of HelpNDoc: Free help authoring tool