sub Write_Single(ByVal fileHandle As HANDLE, ByVal value As Single)
Записывает 4-х байтовое дробное число в файл
fileHandle - хендл файла
value - значение типа Single
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 EPub and documentation generator