www.lucersoft.com

   
       Home  |   News  |   Downloads  |   Order  |   Contacts

 

 

Main

Home

Site map

Products

LC Backup

LC Copier

HTML Batch Editor

HTML Batch Editor PRO

Tennis 2001

Freeware

Documentation

HTML Batch Editor PRO

LC Basic

Information

Order

Update Policy

Support

Contacts

Links

 
 
 
 

 
 
 
 
 
 
 
 
 

Read

File IO functions


Syntax

 

result = Read (NumberOfFile, NuberOfBytes)


Description:

 

Reads a number of bytes from the file.


Arguments:

 

NumberOfFile - A number of the file used with FileOpen. 

NumberOfBytes - A number of bytes to be read.


Examples:

In this example a four bytes will be read to variable val.

res = OpenFile(1,"D:\\file.txt","r")
if (res)
   val = Read(1,4)
   CloseFile(1)
EndIf

 

 

Return value:

 

If the function succeeds, the return value is True. If the function fails, the return value is False


See also:

 

Write, OpenFile, CloseFile, Put


A Read function is included in the lcbase.dll

 
Last updated: November 2, 2003
Copyright © 2002 Lucersoft

Add to favorites

Back