Read_LONGINT

File ››
Parent Previous Next

Read_LongInt

Синтаксис

Function Read_LongInt(ByVal fileHandle As HANDLE) As LongInt

Описание

Читает из файла 8 байтовое целое число

Параметры

fileHandle - хендл файла

Платформы

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: Write EPub books for the iPad